You are here

protected property DateFormatAccessControlHandler::$viewLabelOperation in Drupal 8

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

Code

protected $viewLabelOperation = TRUE;