AccessCheckInterface::applies

public AccessCheckInterface::applies(Route $route) Declares whether the access check applies to a specific route or not. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value array An array of route requirement keys this access checker applies to. File core/lib/Drupal/Core/Access/AccessCheckInterface.php, line 22 Class AccessCheckInterface An access check service determines access rules for particular routes. Namespace Drupal\Core\Access

AccessCheckInterface

An access check service determines access rules for particular routes. Hierarchy interface \Drupal\Core\Routing\Access\AccessInterfaceinterface \Drupal\Core\Access\AccessCheckInterface File core/lib/Drupal/Core/Access/AccessCheckInterface.php, line 11 Namespace Drupal\Core\Access Members Name Modifiers Type Description AccessCheckInterface::applies public function Declares whether the access check applies to a specific route or not.

AccessAwareRouterInterface::match

public AccessAwareRouterInterface::match($pathinfo) Throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when $access_check is enabled and access checking failed. Overrides UrlMatcherInterface::match File core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 34 Class AccessAwareRouterInterface Interface for a router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function match($pathinfo);

AccessAwareRouter::matchRequest

public AccessAwareRouter::matchRequest(Request $request) Throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed. Overrides AccessAwareRouterInterface::matchRequest File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 84 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function matchRequest(Request $request) { $parameters = $this->chainRouter-&g

AccessAwareRouter::__construct

public AccessAwareRouter::__construct(ChainRouter $chain_router, AccessManagerInterface $access_manager, AccountInterface $account) Constructs a router for Drupal with access check and upcasting. Parameters \Symfony\Cmf\Component\Routing\ChainRouter $chain_router: The chain router doing the actual routing. \Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager. \Drupal\Core\Session\AccountInterface $account: The account to use in access checks. File core/lib/Drupal/Core

AccessAwareRouter::setContext

public AccessAwareRouter::setContext(SymfonyRequestContext $context) File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 67 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function setContext(SymfonyRequestContext $context) { $this->chainRouter->setContext($context); }

AccessAwareRouterInterface::ACCESS_RESULT

Attribute name of the access result for the request.. File core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 17 Class AccessAwareRouterInterface Interface for a router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code const ACCESS_RESULT = '_access_result';

AccessAwareRouter::__call

public AccessAwareRouter::__call($name, $arguments) File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 58 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function __call($name, $arguments) { // Ensure to call every other function to the chained router. // @todo Sadly does the ChainRouter not implement an interface in CMF. return call_user_func_array([$this->chainRouter, $name], $arguments);

AccessAwareRouterInterface

Interface for a router class for Drupal with access check and upcasting. Hierarchy interface \Symfony\Component\Routing\RouterInterface extends \Symfony\Component\Routing\UrlGeneratorInterface ; interface \Symfony\Component\Routing\Matcher\RequestMatcherInterfaceinterface \Drupal\Core\Routing\AccessAwareRouterInterface File core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php, line 12 Namespace Drupal\Core\Routing Members Name Modifiers Type Description AccessAwareRout

AccessAwareRouter::match

public AccessAwareRouter::match($pathinfo) Throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException Thrown when access checking failed. Overrides AccessAwareRouterInterface::match File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 133 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code public function match($pathinfo) { return $this->matchRequest(Request::create($pathinfo)); }