function RouteProviderLazyBuilder::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::__construct()
- 10 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::__construct()
- 11.x core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::__construct()
RouteProviderLazyBuilder constructor.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider service.
\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route building service.
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteProviderLazyBuilder.php, line 55
Class
- RouteProviderLazyBuilder
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\RoutingCode
public function __construct(RouteProviderInterface $route_provider, RouteBuilderInterface $route_builder) {
$this->routeProvider = $route_provider;
$this->routeBuilder = $route_builder;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.