public function views_php_plugin_access::option_definition in Views PHP 7
Same name and namespace in other branches
- 6 plugins/views/views_php_plugin_access.inc \views_php_plugin_access::option_definition()
- 7.2 plugins/views/views_php_plugin_access.inc \views_php_plugin_access::option_definition()
Implements views_object#option_definition().
Overrides views_plugin_access::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
public function option_definition() {
$options = parent::option_definition();
$options['php_access'] = array(
'default' => '',
);
return $options;
}