Views display extender plugins
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php \Drupal\views\Plugin\views\display_extender\views_display_extender_plugins
- 8.9.x core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php \Drupal\views\Plugin\views\display_extender\views_display_extender_plugins
- 10 core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php \Drupal\views\Plugin\views\display_extender\views_display_extender_plugins
Plugins that offer additional display options across display types.
Display extender plugins allow additional options or configuration to be added to views across all display types. For example, if you wanted to allow site users to add certain metadata to the rendered output of every view display regardless of display type, you could provide this option as a display extender.
Display extender plugins extend \Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase. They must have \Drupal\views\Attribute\ViewsDisplayExtender attributes, and they must be in namespace directory Plugin\views\display_extender.
See also
Parent topics
File
-
core/
modules/ views/ src/ Plugin/ views/ display_extender/ DisplayExtenderPluginBase.php, line 8
Classes
Title Sort descending | File name | Summary |
---|---|---|
DefaultDisplayExtender | core/ |
Default display extender plugin; does nothing. |
DisplayExtenderPluginBase | core/ |
Base class for Views display extender plugins. |
ViewsDisplayExtender | core/ |
Defines a Plugin attribute object for views display extender plugins. |
ViewsDisplayExtender | core/ |
Defines a Plugin annotation object for views display extender plugins. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.