protected property DateFormatAccessControlHandler::$viewLabelOperation in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/DateFormatAccessControlHandler.php \Drupal\system\DateFormatAccessControlHandler::viewLabelOperation
- 9 core/modules/system/src/DateFormatAccessControlHandler.php \Drupal\system\DateFormatAccessControlHandler::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/ DateFormatAccessControlHandler.php, line 20
Class
- DateFormatAccessControlHandler
- Defines the access control handler for the date format entity type.
Namespace
Drupal\systemCode
protected $viewLabelOperation = TRUE;