Search for entityCreateAccess

  1. Search 7.x for entityCreateAccess
  2. Search 8.9.x for entityCreateAccess
  3. Search 10.3.x for entityCreateAccess
  4. Search 11.x for entityCreateAccess
  5. Other projects
Title Object type File name Summary
EntityAccess::entityCreateAccess function core/modules/workspaces/src/EntityAccess.php Implements a hook bridge for hook_entity_create_access().
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.
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity creation permissions.

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