Search for entityCreateAccess
- Search 7.x for entityCreateAccess
- Search 9.5.x for entityCreateAccess
- Search 8.9.x for entityCreateAccess
- Search 11.x for entityCreateAccess
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
EntityAccess::entityCreateAccess | function | core/ |
Implements a hook bridge for hook_entity_create_access(). |
EntityCreateAccessCheck | class | core/ |
Defines an access checker for entity creation. |
EntityCreateAccessCheck.php | file | core/ |
|
EntityCreateAccessCheck::$entityTypeManager | property | core/ |
The entity type manager service. |
EntityCreateAccessCheck::$requirementsKey | property | core/ |
The key used by the routing requirement. |
EntityCreateAccessCheck::access | function | core/ |
Checks access to create the entity type and bundle for the given route. |
EntityCreateAccessCheck::__construct | function | core/ |
Constructs an EntityCreateAccessCheck object. |
EntityCreateAccessCheckTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityCreateAccessCheck |
EntityCreateAccessCheckTest.php | file | core/ |
|
EntityCreateAccessCheckTest::$entityTypeManager | property | core/ |
The mocked entity type manager. |
EntityCreateAccessCheckTest::providerTestAccess | function | core/ |
Provides test data for testAccess. |
EntityCreateAccessCheckTest::setUp | function | core/ |
|
EntityCreateAccessCheckTest::testAccess | function | core/ |
Tests the method for checking access to routes. |
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess | function | core/ |
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.