function views_php_plugin_access::option_definition in Views PHP 6
Same name and namespace in other branches
- 7.2 plugins/views/views_php_plugin_access.inc \views_php_plugin_access::option_definition()
- 7 plugins/views/views_php_plugin_access.inc \views_php_plugin_access::option_definition()
Implements views_object#option_definition().
File
- plugins/
views/ views_php_plugin_access.inc, line 20
Class
- views_php_plugin_access
- Access plugin that provides access control based on custom PHP code.
Code
function option_definition() {
$options = parent::option_definition();
$options['php_access'] = array(
'default' => '',
);
return $options;
}