function StaticTest::defineOptions
Same name in other branches
- 8.9.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::defineOptions()
- 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::defineOptions()
- 11.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/access/StaticTest.php \Drupal\views_test_data\Plugin\views\access\StaticTest::defineOptions()
Overrides PluginBase::defineOptions
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ access/ StaticTest.php, line 20
Class
- StaticTest
- Tests a static access plugin.
Namespace
Drupal\views_test_data\Plugin\views\accessCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['access'] = [
'default' => FALSE,
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.