ViewsDisplay::$contextual_links_locations
Same name in other branches
- 8.9.x core/modules/views/src/Annotation/ViewsDisplay.php \Drupal\views\Annotation\ViewsDisplay::contextual_links_locations
- 10 core/modules/views/src/Annotation/ViewsDisplay.php \Drupal\views\Annotation\ViewsDisplay::contextual_links_locations
- 11.x 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 101
Class
- ViewsDisplay
- Defines a Plugin annotation object for views display plugins.
Namespace
Drupal\views\AnnotationCode
public $contextual_links_locations;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.