You are here

public function RouteBuildEvent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 31
Contains \Drupal\Core\Routing\RouteBuildEvent.

Class

RouteBuildEvent
Represents route building information as event.

Namespace

Drupal\Core\Routing

Code

public function __construct(RouteCollection $route_collection) {
  $this->routeCollection = $route_collection;
}