You are here

public function AccessAwareRouter::getRouteCollection in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/AccessAwareRouter.php \Drupal\Core\Routing\AccessAwareRouter::getRouteCollection()

Gets the RouteCollection instance associated with this Router.

Return value

RouteCollection A RouteCollection instance

Overrides RouterInterface::getRouteCollection

File

core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 120
Contains \Drupal\Core\Routing\AccessAwareRouter.

Class

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

Namespace

Drupal\Core\Routing

Code

public function getRouteCollection() {
  return $this->chainRouter
    ->getRouteCollection();
}