You are here

Views display extender plugins in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 be annotated with \Drupal\views\Annotation\ViewsDisplayExtender annotation, and they must be in namespace directory Plugin\views\display_extender.

See also

Plugin API

Views display plugins

Parent topics

File

core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php, line 13
Contains \Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase.

Classes

Namesort descending Location Description
DefaultDisplayExtender core/modules/views/src/Plugin/views/display_extender/DefaultDisplayExtender.php Default display extender plugin; does nothing.
DisplayExtenderPluginBase core/modules/views/src/Plugin/views/display_extender/DisplayExtenderPluginBase.php Base class for Views display extender plugins.
ViewsDisplayExtender core/modules/views/src/Annotation/ViewsDisplayExtender.php Defines a Plugin annotation object for views display extender plugins.