protected function StaticTest::defineOptions

Retrieve the options when this is a new access control plugin

Overrides AccessPluginBase::defineOptions

File

drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/access/StaticTest.php, line 25
Definition of Drupal\views_test_data\Plugin\views\access\StaticTest.

Class

StaticTest
Tests a static access plugin.

Namespace

Drupal\views_test_data\Plugin\views\access

Code

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