function TestExample::defineOptions
Same name in other branches
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php \Drupal\views_test_data\Plugin\views\area\TestExample::defineOptions()
- 8.9.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php \Drupal\views_test_data\Plugin\views\area\TestExample::defineOptions()
- 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php \Drupal\views_test_data\Plugin\views\area\TestExample::defineOptions()
Overrides AreaPluginBase::defineOptions
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ area/ TestExample.php, line 30
Class
- TestExample
- Test area plugin.
Namespace
Drupal\views_test_data\Plugin\views\areaCode
public function defineOptions() {
$options = parent::defineOptions();
$options['string'] = [
'default' => '',
];
$options['custom_access'] = [
'default' => TRUE,
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.