protected function DynamicTest::defineOptions in Views (for Drupal 7) 8.3
Retrieve the options when this is a new access control plugin
Overrides AccessPluginBase::defineOptions
File
- 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\accessCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['access'] = array(
'default' => FALSE,
'bool' => TRUE,
);
return $options;
}