protected function DynamicTest::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/DynamicTest.php, line 25
Definition of Drupal\views_test_data\Plugin\views\access\DynamicTest.

Class

DynamicTest
Tests a dynamic 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;
}