ViewsStyle::$display_types

Same name in other branches
  1. 9 core/modules/views/src/Annotation/ViewsStyle.php \Drupal\views\Annotation\ViewsStyle::display_types
  2. 8.9.x core/modules/views/src/Annotation/ViewsStyle.php \Drupal\views\Annotation\ViewsStyle::display_types
  3. 11.x core/modules/views/src/Annotation/ViewsStyle.php \Drupal\views\Annotation\ViewsStyle::display_types

The types of the display this plugin can be used with.

For example the Feed display defines the type 'feed', so only rss style and row plugins can be used in the views UI.

Type: array

File

core/modules/views/src/Annotation/ViewsStyle.php, line 65

Class

ViewsStyle
Defines a Plugin annotation object for views style plugins.

Namespace

Drupal\views\Annotation

Code

public $display_types;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.