function RouteBuildEvent::__construct

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
  2. 10 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
  3. 11.x 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\Routing

Code

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.