Search for createAccess

  1. Search 7.x for createAccess
  2. Search 9.5.x for createAccess
  3. Search 8.9.x for createAccess
  4. Search 10.3.x for createAccess
  5. Other projects
Title Object type File name Summary
AccessibleTestingTrait::createAccessibleDouble function core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php Creates AccessibleInterface object from access result object for testing.
AccessTest::testCreateAccess function core/modules/file/tests/src/Kernel/AccessTest.php Tests create access is always denied even for user 1.
BlockContentAccessControlHandler::checkCreateAccess function core/modules/block_content/src/BlockContentAccessControlHandler.php Performs create access checks.
CommentAccessControlHandler::checkCreateAccess function core/modules/comment/src/CommentAccessControlHandler.php Performs create access checks.
ConfigTestAccessControlHandler::checkCreateAccess function core/modules/config/tests/config_test/src/ConfigTestAccessControlHandler.php Performs create access checks.
ContactMessageAccessControlHandler::checkCreateAccess function core/modules/contact/src/ContactMessageAccessControlHandler.php Performs create access checks.
ContentModerationStateAccessControlHandler::checkCreateAccess function core/modules/content_moderation/src/ContentModerationStateAccessControlHandler.php Performs create access checks.
ContentTranslationManageAccessCheckTest::testCreateAccess function core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php Tests the create access method.
EntityAccess::entityCreateAccess function core/modules/workspaces/src/EntityAccess.php Implements a hook bridge for hook_entity_create_access().
EntityAccessControlHandler::checkCreateAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Performs create access checks.
EntityAccessControlHandler::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Checks access to create an entity.
EntityAccessControlHandlerInterface::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to create an entity.
EntityCreateAccessCheck class core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Defines an access checker for entity creation.
EntityCreateAccessCheck.php file core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php
EntityCreateAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php The entity type manager service.
EntityCreateAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php The key used by the routing requirement.
EntityCreateAccessCheck::access function core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Checks access to create the entity type and bundle for the given route.
EntityCreateAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityCreateAccessCheck.php Constructs an EntityCreateAccessCheck object.
EntityCreateAccessCheckTest class core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php @coversDefaultClass \Drupal\Core\Entity\EntityCreateAccessCheck
EntityCreateAccessCheckTest.php file core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityCreateAccessCheckTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php The mocked entity type manager.
EntityCreateAccessCheckTest::providerTestAccess function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php Provides test data for testAccess.
EntityCreateAccessCheckTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityCreateAccessCheckTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php Tests the method for checking access to routes.
EntityTestAccessControlHandler::checkCreateAccess function core/modules/system/tests/modules/entity_test/src/EntityTestAccessControlHandler.php Performs create access checks.
EntityTestHooks::entityCreateAccess function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_entity_create_access().
EntityTestHooks::entityTestCreateAccess function core/modules/system/tests/modules/entity_test/src/Hook/EntityTestHooks.php Implements hook_ENTITY_TYPE_create_access() for 'entity_test'.
FileAccessControlHandler::checkCreateAccess function core/modules/file/src/FileAccessControlHandler.php Performs create access checks.
MediaAccessControlHandler::checkCreateAccess function core/modules/media/src/MediaAccessControlHandler.php Performs create access checks.
MediaAccessControlHandlerTest::providerCreateAccess function core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php Data provider for testCreateAccess().
MediaAccessControlHandlerTest::testCreateAccess function core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php @covers ::checkCreateAccess
@dataProvider providerCreateAccess
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity creation permissions.
MediaLibraryTestHooks::mediaCreateAccess function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_ENTITY_TYPE_create_access().
NodeAccessControlHandler::checkCreateAccess function core/modules/node/src/NodeAccessControlHandler.php Performs create access checks.
NodeAccessControlHandler::createAccess function core/modules/node/src/NodeAccessControlHandler.php Checks access to create an entity.
NodeAccessTestBase::assertNodeCreateAccess function core/modules/node/tests/src/Kernel/NodeAccessTestBase.php Asserts that node create access correctly grants or denies access.
NodeTestBase::assertNodeCreateAccess function core/modules/node/tests/src/Functional/NodeTestBase.php Asserts that node create access correctly grants or denies access.
ShortcutAccessControlHandler::checkCreateAccess function core/modules/shortcut/src/ShortcutAccessControlHandler.php Performs create access checks.
ShortcutSetAccessControlHandler::checkCreateAccess function core/modules/shortcut/src/ShortcutSetAccessControlHandler.php Performs create access checks.
TermAccessControlHandler::checkCreateAccess function core/modules/taxonomy/src/TermAccessControlHandler.php Performs create access checks.
UserAccessTestHooks::entityCreateAccess function core/modules/user/tests/modules/user_access_test/src/Hook/UserAccessTestHooks.php Implements hook_entity_create_access().
WorkflowAccessControlHandler::checkCreateAccess function core/modules/workflows/src/WorkflowAccessControlHandler.php Performs create access checks.
WorkflowAccessControlHandlerTest::testCheckCreateAccess function core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php @covers ::checkCreateAccess
WorkspaceAccessControlHandler::checkCreateAccess function core/modules/workspaces/src/WorkspaceAccessControlHandler.php Performs create access checks.
WorkspacesHooks::entityCreateAccess function core/modules/workspaces/src/Hook/WorkspacesHooks.php Implements hook_entity_create_access().

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