ViewsAccess::$display_types

Same name in other branches
  1. 9 core/modules/views/src/Annotation/ViewsAccess.php \Drupal\views\Annotation\ViewsAccess::display_types
  2. 10 core/modules/views/src/Annotation/ViewsAccess.php \Drupal\views\Annotation\ViewsAccess::display_types
  3. 11.x core/modules/views/src/Annotation/ViewsAccess.php \Drupal\views\Annotation\ViewsAccess::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/ViewsAccess.php, line 58

Class

ViewsAccess
Defines a Plugin annotation object for views access 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.