protected function RouteSubscriber::alterRoutes in Forms Steps 8
Alters existing routes for a specific collection.
Parameters
\Symfony\Component\Routing\RouteCollection $collection: The route collection for adding routes.
Overrides RouteSubscriberBase::alterRoutes
File
- src/
EventSubscriber/ RouteSubscriber.php, line 143
Class
- RouteSubscriber
- Builds up the routes of all forms steps. (based on views RouteSubscriber)
Namespace
Drupal\forms_steps\EventSubscriberCode
protected function alterRoutes(RouteCollection $collection) {
// TODO: Implements alter on steps URL that has been overriden by route for
// example in url alias menu.
return $collection;
}