UserAccessControlHandler::$viewLabelOperation

Same name in other branches
  1. 9 core/modules/user/src/UserAccessControlHandler.php \Drupal\user\UserAccessControlHandler::viewLabelOperation
  2. 8.9.x 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 25

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.