1.20.x views_test_plugin_access_test_static.inc | views_test_plugin_access_test_static::option_definition() |
Retrieve the options when this is a new access control plugin
Overrides views_plugin_access::option_definition
File
- modules/
views/ tests/ views_test/ test_plugins/ views_test_plugin_access_test_static.inc, line 12 - Definition of views_test_plugin_access_test_static.
Class
- views_test_plugin_access_test_static
- Tests a static access plugin.
Code
function option_definition() {
$options = parent::option_definition();
$options['access'] = array('default' => FALSE, 'bool' => TRUE);
return $options;
}