public function AccessAwareRouter::getContext in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::getContext()
Gets the request context.
Return value
RequestContext The context
Overrides RequestContextAwareInterface::getContext
File
- core/
lib/ Drupal/ Core/ Routing/ AccessAwareRouter.php, line 78 - Contains \Drupal\Core\Routing\AccessAwareRouter.
Class
- AccessAwareRouter
- A router class for Drupal with access check and upcasting.
Namespace
Drupal\Core\RoutingCode
public function getContext() {
return $this->chainRouter
->getContext();
}