You are here

public function AccessAwareRouter::setContext in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::setContext()
  2. 9 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::setContext()

File

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

Class

AccessAwareRouter
A router class for Drupal with access check and upcasting.

Namespace

Drupal\Core\Routing

Code

public function setContext(SymfonyRequestContext $context) {
  $this->router
    ->setContext($context);
}