ViewsDisplay::$contextual_links_locations

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

1
2
3
4
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

1
public $contextual_links_locations;
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.