function RouteBuildEvent::getRouteCollection

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::getRouteCollection()
  2. 8.9.x core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::getRouteCollection()
  3. 10 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::getRouteCollection()

Gets the route collection.

File

core/lib/Drupal/Core/Routing/RouteBuildEvent.php, line 33

Class

RouteBuildEvent
Represents route building information as event.

Namespace

Drupal\Core\Routing

Code

public function getRouteCollection() {
    return $this->routeCollection;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.