Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DisplayPluginInterface.php

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

Views plugins
Overview of views plugins

File

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

Classes

Title Sort descending File name Summary
Attachment core/modules/views/src/Plugin/views/display/Attachment.php The plugin that handles an attachment display.
Block core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
DefaultDisplay core/modules/views/src/Plugin/views/display/DefaultDisplay.php A plugin to handle defaults on a view.
Embed core/modules/views/src/Plugin/views/display/Embed.php The plugin that handles an embed display.
EntityReference core/modules/views/src/Plugin/views/display/EntityReference.php The plugin that handles an EntityReference display.
Feed core/modules/views/src/Plugin/views/display/Feed.php The plugin that handles a feed, such as RSS or atom.
Page core/modules/views/src/Plugin/views/display/Page.php The plugin that handles a full page.
RestExport core/modules/rest/src/Plugin/views/display/RestExport.php The plugin that handles Data response callbacks for REST resources.
ViewsDisplay core/modules/views/src/Attribute/ViewsDisplay.php Defines a Plugin attribute object for views display plugins.
ViewsDisplay core/modules/views/src/Annotation/ViewsDisplay.php Defines a Plugin annotation object for views display plugins.

Interfaces

Title Sort descending File name Summary
DisplayPluginInterface core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Provides an interface for Views display plugins.
RSS feed
Powered by Drupal