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 |
Builds the normalized JSON:API error objects for the response. |
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. |
EntityActionBase::__construct |
function |
core/lib/Drupal/Core/Action/Plugin/Action/EntityActionBase.php |
Constructs an EntityActionBase object. |
EntityActionDeriverBase |
class |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
Provides a base action for each entity type with specific interfaces. |
EntityActionDeriverBase.php |
file |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
|
EntityActionDeriverBase::$entityTypeManager |
property |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
The entity type manager. |
EntityActionDeriverBase::create |
function |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
Creates a new class instance. |
EntityActionDeriverBase::getApplicableEntityTypes |
function |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
Gets a list of applicable entity types. |
EntityActionDeriverBase::getDerivativeDefinitions |
function |
core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php |
Gets the definition of all derivatives of a base plugin. |