public function DisplayExtenderTest::defaultableSections in Views (for Drupal 7) 8.3
Overrides Drupal\views\Plugin\views\display\DisplayExtenderPluginBase::defaultableSections().
Overrides DisplayExtenderPluginBase::defaultableSections
File
- tests/
views_test_data/ lib/ Drupal/ views_test_data/ Plugin/ views/ display_extender/ DisplayExtenderTest.php, line 93 - Definition of Drupal\views_test_data\Plugin\views\display_extender\DisplayExtenderTest.
Class
- DisplayExtenderTest
- Defines a display extender test plugin.
Namespace
Drupal\views_test_data\Plugin\views\display_extenderCode
public function defaultableSections(&$sections, $section = NULL) {
$sections['test_extender_test_option'] = array(
'test_extender_test_option',
);
}