public function RouteEnhancerSubscriber::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/EventSubscriber/RouteEnhancerSubscriber.php \Drupal\Core\EventSubscriber\RouteEnhancerSubscriber::__construct()
Constructs the RouteEnhancerSubscriber object.
Parameters
\Drupal\Core\Routing\LazyRouteEnhancer $route_enhancer: The lazy route enhancer.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ RouteEnhancerSubscriber.php, line 31 - Contains \Drupal\Core\EventSubscriber\RouteEnhancerSubscriber.
Class
- RouteEnhancerSubscriber
- Listens to the new routes before they get saved.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(LazyRouteEnhancer $route_enhancer) {
$this->routeEnhancer = $route_enhancer;
}