Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
EntityAccessControlHandler::$entityType property core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Information about the entity type.
EntityAccessControlHandler::$entityTypeId property core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php The entity type ID of the access control handler instance.
EntityAccessControlHandler::$viewLabelOperation property core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Allows to grant access to just the labels.
EntityAccessControlHandler::access function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Checks access to an operation on a given entity or entity translation.
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.
EntityAccessControlHandler::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Checks access to create an entity.
EntityAccessControlHandler::fieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Checks access to an operation on a given entity field.
EntityAccessControlHandler::getCache function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Tries to retrieve a previously cached access value from the static cache.
EntityAccessControlHandler::prepareUser function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Loads the current account object, if it does not exist yet.
EntityAccessControlHandler::processAccessHookResults function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Determines entity access.
EntityAccessControlHandler::resetCache function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Clears all cached access checks.
EntityAccessControlHandler::setCache function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Statically caches whether the given user has access.
EntityAccessControlHandler::__construct function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Constructs an access control handler instance.
EntityAccessControlHandlerInterface interface core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Defines an interface for entity access control handlers.
EntityAccessControlHandlerInterface.php file core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php
EntityAccessControlHandlerInterface::access function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to an operation on a given entity or entity translation.
EntityAccessControlHandlerInterface::createAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to create an entity.
EntityAccessControlHandlerInterface::fieldAccess function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Checks access to an operation on a given entity field.
EntityAccessControlHandlerInterface::resetCache function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Clears all cached access checks.
EntityAccessControlHandlerInterface::setModuleHandler function core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php Sets the module handler for this access control handler.
EntityAccessControlHandlerTest class core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests the entity access control handler.
EntityAccessControlHandlerTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
EntityAccessControlHandlerTest::assertEntityAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Asserts entity access correctly grants or denies access.
EntityAccessControlHandlerTest::providerTestFieldAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
EntityAccessControlHandlerTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
EntityAccessControlHandlerTest::testDefaultEntityAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures default entity access is checked when necessary.
EntityAccessControlHandlerTest::testEntityAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures entity access is properly working.
EntityAccessControlHandlerTest::testEntityAccessDefaultController function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures that the default handler is used as a fallback.
EntityAccessControlHandlerTest::testEntityTranslationAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures entity access for entity translations is properly working.
EntityAccessControlHandlerTest::testEntityWithoutUuidAccessCache function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures the static access cache works correctly in the absence of a UUID.
EntityAccessControlHandlerTest::testEntityWithUuidAccessCache function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures the static access cache works correctly with a UUID and revisions.
EntityAccessControlHandlerTest::testFieldAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests the default access handling for the ID and UUID fields.
EntityAccessControlHandlerTest::testHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests hook invocations.
EntityAccessControlHandlerTest::testUserLabelAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures user labels are accessible for everyone.
EntityAccessDeniedHttpException class core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php Enhances the access denied exception with information about the entity.
EntityAccessDeniedHttpException.php file core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php
EntityAccessDeniedHttpException::$error property core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php The error which caused the 403.
EntityAccessDeniedHttpException::getError function core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php Returns the error.
EntityAccessDeniedHttpException::__construct function core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php EntityAccessDeniedHttpException constructor.
EntityAccessDeniedHttpExceptionNormalizer class core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php Normalizes an EntityAccessDeniedException.
EntityAccessDeniedHttpExceptionNormalizer.php file core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
EntityAccessDeniedHttpExceptionNormalizer::buildErrorObjects function core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
EntityAccessDeniedHttpExceptionNormalizer::getSupportedTypes function core/modules/jsonapi/src/Normalizer/EntityAccessDeniedHttpExceptionNormalizer.php
EntityActionBase class core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php Base class for entity-based actions.
EntityActionBase.php file core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php
EntityActionBase::$entityTypeManager property core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php The entity type manager.
EntityActionBase::calculateDependencies function core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php Calculates dependencies for the configured plugin.
EntityActionBase::create function core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php Creates an instance of the plugin.

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