You are here

protected property MenuAccessControlHandler::$viewLabelOperation in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/MenuAccessControlHandler.php \Drupal\system\MenuAccessControlHandler::viewLabelOperation

Allows to grant access to just the labels.

By default, the "view label" operation falls back to "view". Set this to TRUE to allow returning different access when just listing entity labels.

Type: bool

Overrides EntityAccessControlHandler::$viewLabelOperation

File

core/modules/system/src/MenuAccessControlHandler.php, line 20

Class

MenuAccessControlHandler
Defines the access control handler for the menu entity type.

Namespace

Drupal\system

Code

protected $viewLabelOperation = TRUE;