public function AccessAwareRouter::setContext

public AccessAwareRouter::setContext(SymfonyRequestContext $context)

File

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

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);
}

© 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/function/AccessAwareRouter::setContext/8.1.x