W3cubDocs

/Drupal 8

public function RouteBuildEvent::__construct

public RouteBuildEvent::__construct(RouteCollection $route_collection)

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RouteBuildEvent.php/function/RouteBuildEvent::__construct/8.1.x