Search for check

  1. Search 7.x for check
  2. Search 8.9.x for check
  3. Search 10.3.x for check
  4. Search 11.x for check
  5. Other projects
Title Object type File name Summary
EntityAccessCheckTest::createRouteMatchForObject function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Wrap any object with a route match, and return that.
EntityAccessCheckTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
EntityAccessCheckTest::testAccess function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php Tests the method for checking access to routes.
EntityAccessCheckTest::testAccessWithDifferentRouteParameters function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php @covers ::access
EntityAccessCheckTest::testAccessWithTypePlaceholder function core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php @covers ::access
EntityAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Performs access checks.
EntityAccessControlHandler::checkCreateAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Performs create access checks.
EntityAccessControlHandler::checkFieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Default field access as determined by this access control handler.
EntityBundleAccessCheck class core/lib/Drupal/Core/Entity/EntityBundleAccessCheck.php Provides an entity bundle checker for the _entity_bundles route requirement.
EntityBundleAccessCheck.php file core/lib/Drupal/Core/Entity/EntityBundleAccessCheck.php
EntityBundleAccessCheck::access function core/lib/Drupal/Core/Entity/EntityBundleAccessCheck.php Checks entity bundle match based on the _entity_bundles route requirement.
EntityBundleAccessCheckTest class core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php Unit test of entity access checking system.
EntityBundleAccessCheckTest.php file core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php
EntityBundleAccessCheckTest::getBundleAndAccessResult function core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php Data provider.
EntityBundleAccessCheckTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php
EntityBundleAccessCheckTest::testRouteAccess function core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php @covers ::access
EntityChangesDetectionTrait::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php Returns an array of field names to skip when checking for changes.
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.
EntityCreateAnyAccessCheck class core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Defines an access checker for creating an entity of any bundle.
EntityCreateAnyAccessCheck.php file core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php
EntityCreateAnyAccessCheck::$entityTypeBundleInfo property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The entity type bundle info.
EntityCreateAnyAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The entity type manager.
EntityCreateAnyAccessCheck::$requirementsKey property core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php The key used by the routing requirement.
EntityCreateAnyAccessCheck::access function core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Checks access to create an entity of any bundle for the given route.
EntityCreateAnyAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityCreateAnyAccessCheck.php Constructs an EntityCreateAnyAccessCheck object.
EntityDeleteMultipleAccessCheck class core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Checks if the current user has delete access to the items of the tempstore.
EntityDeleteMultipleAccessCheck.php file core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php
EntityDeleteMultipleAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php The entity type manager.
EntityDeleteMultipleAccessCheck::$requestStack property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Request stack service.
EntityDeleteMultipleAccessCheck::$tempStore property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php The tempstore service.
EntityDeleteMultipleAccessCheck::access function core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Checks if the user has delete access for at least one item of the store.
EntityDeleteMultipleAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Constructs a new EntityDeleteMultipleAccessCheck.
EntityFormDisplayAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php Performs access checks.
EntityLoadByUuidTest::testLoadEntityByUuidAccessChecking function core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php Ensures that ::loadEntityByUuid() doesn't apply access checking.
EntityPermissionsRouteProviderWithCheck class core/modules/user/src/Entity/EntityPermissionsRouteProviderWithCheck.php Provides routes for the entity permissions form with a custom access check.
EntityPermissionsRouteProviderWithCheck.php file core/modules/user/src/Entity/EntityPermissionsRouteProviderWithCheck.php
EntityPermissionsRouteProviderWithCheck::getEntityPermissionsRoute function core/modules/user/src/Entity/EntityPermissionsRouteProviderWithCheck.php Gets the entity permissions route.
EntityQueryTest::testAccessCheckSpecified function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test the accessCheck method is called.
EntityReferenceFormatterBase::checkAccess function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php Checks access to the given entity.

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