You are here

protected function RouteSubscriber::alterRoutes in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/Routing/RouteSubscriber.php \Drupal\acsf\Routing\RouteSubscriber::alterRoutes()

Alters existing routes for a specific collection.

Parameters

\Symfony\Component\Routing\RouteCollection $collection: The route collection for adding routes.

Overrides RouteSubscriberBase::alterRoutes

File

src/Routing/RouteSubscriber.php, line 16

Class

RouteSubscriber
RouteSubscriber.

Namespace

Drupal\acsf\Routing

Code

protected function alterRoutes(RouteCollection $collection) {
  acsf_build_registry();
}