You are here

protected function ConfigTestAccessControlHandler::checkCreateAccess in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkCreateAccess()
  2. 9 core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php \Drupal\config_test\ConfigTestAccessControlHandler::checkCreateAccess()

File

core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php, line 27

Class

ConfigTestAccessControlHandler
Defines the access control handler for the config_test entity type.

Namespace

Drupal\config_test

Code

protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) {
  return AccessResult::allowed();
}