protected property MenuAccessControlHandler::$viewLabelOperation in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/MenuAccessControlHandler.php \Drupal\system\MenuAccessControlHandler::viewLabelOperation
- 9 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\systemCode
protected $viewLabelOperation = TRUE;