namespace Drupal\Core\Access

Same name in other branches
  1. 9 Drupal\Core\Access
  2. 11.x Drupal\Core\Access
  3. 10 Drupal\Core\Access
Object name File name Summary
AccessArgumentsResolverFactory core/lib/Drupal/Core/Access/AccessArgumentsResolverFactory.php Resolves the arguments to pass to an access check callable.
AccessArgumentsResolverFactoryInterface core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php Constructs the arguments resolver instance to use when running access checks.
AccessCheckInterface core/lib/Drupal/Core/Access/AccessCheckInterface.php An access check service determines access rules for particular routes.
AccessException core/lib/Drupal/Core/Access/AccessException.php An exception thrown for access errors.
AccessibleInterface core/lib/Drupal/Core/Access/AccessibleInterface.php Interface for checking access.
AccessManager core/lib/Drupal/Core/Access/AccessManager.php Attaches access check services to routes and runs them on request.
AccessManagerInterface core/lib/Drupal/Core/Access/AccessManagerInterface.php Provides an interface for attaching and running access check services.
AccessResult core/lib/Drupal/Core/Access/AccessResult.php Value object for passing an access result with cacheability metadata.
AccessResultAllowed core/lib/Drupal/Core/Access/AccessResultAllowed.php Value object indicating an allowed access result, with cacheability metadata.
AccessResultForbidden core/lib/Drupal/Core/Access/AccessResultForbidden.php Value object indicating a forbidden access result, with cacheability metadata.
AccessResultInterface core/lib/Drupal/Core/Access/AccessResultInterface.php Interface for access result value objects.
AccessResultNeutral core/lib/Drupal/Core/Access/AccessResultNeutral.php Value object indicating a neutral access result, with cacheability metadata.
AccessResultReasonInterface core/lib/Drupal/Core/Access/AccessResultReasonInterface.php Interface for access result value objects with stored reason for developers.
CheckProvider core/lib/Drupal/Core/Access/CheckProvider.php Loads access checkers from the container.
CheckProviderInterface core/lib/Drupal/Core/Access/CheckProviderInterface.php Provides the available access checkers by service IDs.
CsrfAccessCheck core/lib/Drupal/Core/Access/CsrfAccessCheck.php Allows access to routes to be controlled by a '_csrf_token' parameter.
CsrfRequestHeaderAccessCheck core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Access protection against CSRF attacks.
CsrfTokenGenerator core/lib/Drupal/Core/Access/CsrfTokenGenerator.php Generates and validates CSRF tokens.
CustomAccessCheck core/lib/Drupal/Core/Access/CustomAccessCheck.php Defines an access checker that allows specifying a custom method for access.
DefaultAccessCheck core/lib/Drupal/Core/Access/DefaultAccessCheck.php Allows access to routes to be controlled by an '_access' boolean parameter.
RouteProcessorCsrf core/lib/Drupal/Core/Access/RouteProcessorCsrf.php Processes the outbound route to handle the CSRF token.

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