function views_plugin_argument_validate_numeric::access in Views (for Drupal 7) 6.2
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']);
}