EntityTestAccessControlHandler::$viewLabelOperation

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php \Drupal\entity_test\EntityTestAccessControlHandler::viewLabelOperation
  2. 8.9.x core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php \Drupal\entity_test\EntityTestAccessControlHandler::viewLabelOperation
  3. 10 core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php \Drupal\entity_test\EntityTestAccessControlHandler::viewLabelOperation

Allows to grant access to just the labels.

Type: bool

Overrides EntityAccessControlHandler::$viewLabelOperation

File

core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php, line 33

Class

EntityTestAccessControlHandler
Defines the access control handler for the test entity type.

Namespace

Drupal\entity_test

Code

protected $viewLabelOperation = TRUE;

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