EntityTestAccessControlHandler::$viewLabelOperation
Same name in other branches
- 8.9.x core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php \Drupal\entity_test\EntityTestAccessControlHandler::viewLabelOperation
- 10 core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php \Drupal\entity_test\EntityTestAccessControlHandler::viewLabelOperation
- 11.x 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 31
Class
- EntityTestAccessControlHandler
- Defines the access control handler for the test entity type.
Namespace
Drupal\entity_testCode
protected $viewLabelOperation = TRUE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.