function RouteBuildEvent::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
- 8.9.x core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
- 10 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
Constructs a RouteBuildEvent object.
Parameters
\Symfony\Component\Routing\RouteCollection $route_collection: The route collection.
File
-
core/
lib/ Drupal/ Core/ Routing/ RouteBuildEvent.php, line 26
Class
- RouteBuildEvent
- Represents route building information as event.
Namespace
Drupal\Core\RoutingCode
public function __construct(RouteCollection $route_collection) {
$this->routeCollection = $route_collection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.