A router class for Drupal with access check and upcasting.
Hierarchy
- class \Drupal\Core\Routing\AccessAwareRouter implements AccessAwareRouterInterface
File
- core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 16
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.. |
Please login to continue.