UserAccessControlHandler::$viewLabelOperation

Same name in other branches
  1. 8.9.x core/modules/user/src/UserAccessControlHandler.php \Drupal\user\UserAccessControlHandler::viewLabelOperation
  2. 10 core/modules/user/src/UserAccessControlHandler.php \Drupal\user\UserAccessControlHandler::viewLabelOperation
  3. 11.x core/modules/user/src/UserAccessControlHandler.php \Drupal\user\UserAccessControlHandler::viewLabelOperation

Allow access to user label.

Type: bool

Overrides EntityAccessControlHandler::$viewLabelOperation

File

core/modules/user/src/UserAccessControlHandler.php, line 26

Class

UserAccessControlHandler
Defines the access control handler for the user entity type.

Namespace

Drupal\user

Code

protected $viewLabelOperation = TRUE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.