You are here

public property ViewsDisplay::$contextual_links_locations in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Annotation/ViewsDisplay.php \Drupal\views\Annotation\ViewsDisplay::contextual_links_locations
  2. 10 core/modules/views/src/Annotation/ViewsDisplay.php \Drupal\views\Annotation\ViewsDisplay::contextual_links_locations

A list of places where contextual links should be added. For example:

array(
  'page',
  'block',
);

If you don't specify it there will be contextual links rendered for all displays of a view. If this is not set or regions have been specified, views will display an option to 'hide contextual links'. Use an empty array to disable.

Type: array

File

core/modules/views/src/Annotation/ViewsDisplay.php, line 100

Class

ViewsDisplay
Defines a Plugin annotation object for views display plugins.

Namespace

Drupal\views\Annotation

Code

public $contextual_links_locations;