public function RouteProviderLazyBuilder::getRouteCollectionForRequest in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteCollectionForRequest()
- 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteCollectionForRequest()
File
- core/
lib/ Drupal/ Core/ Routing/ RouteProviderLazyBuilder.php, line 77
Class
- RouteProviderLazyBuilder
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
public function getRouteCollectionForRequest(Request $request) {
return $this
->getRouteProvider()
->getRouteCollectionForRequest($request);
}