AccessAwareRouter::$router

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::router
  2. 8.9.x core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::router
  3. 11.x core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::router

The router doing the actual routing.

Type: \Symfony\Component\Routing\RouterInterface

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

protected $router;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.