public function ConfigTestAccessControlHandler::checkAccess in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkAccess()
- 9 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkAccess()
File
- core/
modules/ config/ tests/ config_test/ src/ ConfigTestAccessControlHandler.php, line 20
Class
- ConfigTestAccessControlHandler
- Defines the access control handler for the config_test entity type.
Namespace
Drupal\config_testCode
public function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
return AccessResult::allowed();
}