function views_plugin_argument_validate_numeric::access
2.x views_plugin_argument_validate_numeric.inc | views_plugin_argument_validate_numeric::access() |
Only let users with PHP block visibility permissions set/modify this validate plugin.
Overrides views_plugin_argument_validate::access
File
- plugins/
views_plugin_argument_validate_numeric.inc, line 19 - Contains the numeric argument validator plugin.
Class
- views_plugin_argument_validate_numeric
- Validate whether an argument is numeric or not.
Code
function access() {
return !empty($this->argument->definition['numeric']);
}