You are here

public function views_test_plugin_access_test_static::option_definition in Views (for Drupal 7) 7.3

Retrieve the options when this is a new access control plugin.

Overrides views_plugin_access::option_definition

File

tests/test_plugins/views_test_plugin_access_test_static.inc, line 16
Definition of views_test_plugin_access_test_static.

Class

views_test_plugin_access_test_static
Tests a static access plugin.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['access'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  return $options;
}