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