class AccessAwareRouter

A router class for Drupal with access check and upcasting.

Hierarchy

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 15

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
AccessAwareRouter::$accessManager protected property The access manager.
AccessAwareRouter::$account protected property The account to use in access checks.
AccessAwareRouter::$chainRouter protected property The chain router doing the actual routing.
AccessAwareRouter::checkAccess protected function Apply access check service to the route and parameters in the request.
AccessAwareRouter::generate public function
AccessAwareRouter::getContext public function
AccessAwareRouter::getRouteCollection public function Gets the RouteCollection instance associated with this Router. Overrides RouterInterface::getRouteCollection
AccessAwareRouter::match public function Overrides AccessAwareRouterInterface::match
AccessAwareRouter::matchRequest public function Overrides AccessAwareRouterInterface::matchRequest
AccessAwareRouter::setContext public function
AccessAwareRouter::__call public function
AccessAwareRouter::__construct public function Constructs a router for Drupal with access check and upcasting.
AccessAwareRouterInterface::ACCESS_RESULT constant Attribute name of the access result for the request..

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!AccessAwareRouter.php/class/AccessAwareRouter/8.1.x