EntityAccess::entityOperationAccess |
function |
core/modules/workspaces/src/EntityAccess.php |
Implements a hook bridge for hook_entity_access(). |
EntityAccess::__construct |
function |
core/modules/workspaces/src/EntityAccess.php |
Constructs a new EntityAccess instance. |
EntityAccessCheck |
class |
core/lib/Drupal/Core/Entity/EntityAccessCheck.php |
Provides a generic access checker for entities. |
EntityAccessCheck.php |
file |
core/lib/Drupal/Core/Entity/EntityAccessCheck.php |
|
EntityAccessCheck::access |
function |
core/lib/Drupal/Core/Entity/EntityAccessCheck.php |
Checks access to the entity operation on the given route. |
EntityAccessChecker |
class |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
Checks access to entities. |
EntityAccessChecker.php |
file |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
|
EntityAccessChecker::$currentUser |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The current user. |
EntityAccessChecker::$entityRepository |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The entity repository. |
EntityAccessChecker::$latestRevisionCheck |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The latest revision check service. |
EntityAccessChecker::$resourceTypeRepository |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The JSON:API resource type repository. |
EntityAccessChecker::$router |
property |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
The router. |
EntityAccessChecker::checkEntityAccess |
function |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
Checks access to the given entity. |
EntityAccessChecker::checkRevisionViewAccess |
function |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
Checks access to the given revision entity. |
EntityAccessChecker::getAccessCheckedResourceObject |
function |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
Get the object to normalize and the access based on the provided entity. |
EntityAccessChecker::setLatestRevisionCheck |
function |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
Sets the media revision access check service. |
EntityAccessChecker::__construct |
function |
core/modules/jsonapi/src/Access/EntityAccessChecker.php |
EntityAccessChecker constructor. |
EntityAccessCheckTest |
class |
core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php |
Unit test of entity access checking system. |
EntityAccessCheckTest.php |
file |
core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php |
|
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 |
class |
core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php |
Defines a default implementation for entity access control handler. |
EntityAccessControlHandler.php |
file |
core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php |
|
EntityAccessControlHandler::$accessCache |
property |
core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php |
Stores calculated access check results. |
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. |