function RouteProviderLazyBuilder::getRouteCollectionForRequest
Same name in other branches
- 8.9.x 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()
- 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::getRouteCollectionForRequest()
Overrides RouteProviderInterface::getRouteCollectionForRequest
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProviderLazyBuilder.php, line 75
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.