function ConfigTestAccessControlHandler::checkAccess

Same name in other branches
  1. 9 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkAccess()
  2. 10 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkAccess()
  3. 11.x core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkAccess()

Overrides EntityAccessControlHandler::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_test

Code

public function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) {
    return AccessResult::allowed();
}

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