AccessManager::performCheck

protected AccessManager::performCheck($service_id, ArgumentsResolverInterface $arguments_resolver) Performs the specified access check. Parameters string $service_id: The access check service ID to use. \Drupal\Component\Utility\ArgumentsResolverInterface $arguments_resolver: The parametrized arguments resolver instance. Return value \Drupal\Core\Access\AccessResultInterface The access result. Throws \Drupal\Core\Access\AccessException Thrown when the access check returns an invalid value. F

AccessManager::checkRequest

public AccessManager::checkRequest(Request $request, AccountInterface $account = NULL, $return_as_object = FALSE) Execute access checks against the incoming request. Parameters Request $request: The incoming request. \Drupal\Core\Session\AccountInterface $account: (optional) Run access checks for this account. Defaults to the current user. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a boolean if $

AccessManager::checkNamedRoute

public AccessManager::checkNamedRoute($route_name, array $parameters = array(), AccountInterface $account = NULL, $return_as_object = FALSE) Checks a named route with parameters against applicable access check services. Determines whether the route is accessible or not. Parameters string $route_name: The route to check access to. array $parameters: Optional array of values to substitute into the route path pattern. \Drupal\Core\Session\AccountInterface $account: (optional) Run access checks fo

AccessManager::check

public AccessManager::check(RouteMatchInterface $route_match, AccountInterface $account = NULL, Request $request = NULL, $return_as_object = FALSE) Checks a route against applicable access check services. Determines whether the route is accessible or not. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. \Drupal\Core\Session\AccountInterface $account: (optional) Run access checks for this account. Defaults to the current user. \Symfony\Component\HttpFoundation\

AccessManager::$routeProvider

The route provider. Type: \Drupal\Core\Routing\RouteProviderInterface File core/lib/Drupal/Core/Access/AccessManager.php, line 27 Class AccessManager Attaches access check services to routes and runs them on request. Namespace Drupal\Core\Access Code protected $routeProvider;

AccessManager::$paramConverterManager

The paramconverter manager. Type: \Drupal\Core\ParamConverter\ParamConverterManagerInterface File core/lib/Drupal/Core/Access/AccessManager.php, line 34 Class AccessManager Attaches access check services to routes and runs them on request. Namespace Drupal\Core\Access Code protected $paramConverterManager;

AccessManager::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/Access/AccessManager.php, line 48 Class AccessManager Attaches access check services to routes and runs them on request. Namespace Drupal\Core\Access Code protected $currentUser;

AccessManager::$checkProvider

The check provider. Type: \Drupal\Core\Access\CheckProviderInterface File core/lib/Drupal/Core/Access/AccessManager.php, line 55 Class AccessManager Attaches access check services to routes and runs them on request. Namespace Drupal\Core\Access Code protected $checkProvider;

AccessManager::$argumentsResolverFactory

The access arguments resolver. Type: \Drupal\Core\Access\AccessArgumentsResolverFactoryInterface File core/lib/Drupal/Core/Access/AccessManager.php, line 41 Class AccessManager Attaches access check services to routes and runs them on request. Namespace Drupal\Core\Access Code protected $argumentsResolverFactory;

AccessManager

Attaches access check services to routes and runs them on request. Hierarchy class \Drupal\Core\Access\AccessManager implements AccessManagerInterface See also \Drupal\Tests\Core\Access\AccessManagerTest File core/lib/Drupal/Core/Access/AccessManager.php, line 21 Namespace Drupal\Core\Access Members Name Modifiers Type Description AccessManager::$argumentsResolverFactory protected property The access arguments resolver. AccessManager::$checkProvider protected prop