You are here

protected property DateFormatAccessControlHandler::$viewLabelOperation in Drupal 9

Same name and namespace in other branches
  1. 8 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\system

Code

protected $viewLabelOperation = TRUE;