Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\views_display_plugins
  2. 9 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\views_display_plugins

Plugins to handle the overall display of views.

Display plugins are responsible for controlling where a view is rendered; that is, how it is exposed to other parts of Drupal. 'Page' and 'block' are the most commonly used display plugins. Each view also has a 'default' display that includes information shared between all its displays (see \Drupal\views\Plugin\views\display\DefaultDisplay).

Display plugins extend \Drupal\views\Plugin\views\display\DisplayPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsDisplay annotation, and they must be in namespace directory Plugin\views\display.

See also

Plugin API

Views display extender plugins

Parent topics

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 9

Classes

Namesort descending Location Description
ViewsDisplay core/modules/views/src/Annotation/ViewsDisplay.php Defines a Plugin annotation object for views display plugins.

Interfaces

Namesort descending Location Description
DisplayPluginInterface core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Provides an interface for Views display plugins.