function Router::getRouteCollection
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::getRouteCollection()
- 10 core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::getRouteCollection()
- 11.x core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::getRouteCollection()
File
-
core/
lib/ Drupal/ Core/ Routing/ Router.php, line 327
Class
- Router
- Router implementation in Drupal.
Namespace
Drupal\Core\RoutingCode
public function getRouteCollection() : RouteCollection {
return new LazyRouteCollection($this->routeProvider);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.