You are here

abstract protected function RouteSubscriberBase::alterRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/RouteSubscriberBase.php \Drupal\Core\Routing\RouteSubscriberBase::alterRoutes()

Alters existing routes for a specific collection.

Parameters

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

1 call to RouteSubscriberBase::alterRoutes()
RouteSubscriberBase::onAlterRoutes in core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
Delegates the route altering to self::alterRoutes().
11 methods override RouteSubscriberBase::alterRoutes()
AdminRouteSubscriber::alterRoutes in core/modules/system/src/EventSubscriber/AdminRouteSubscriber.php
Alters existing routes for a specific collection.
ContentTranslationRouteSubscriber::alterRoutes in core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php
Alters existing routes for a specific collection.
ModuleRouteSubscriber::alterRoutes in core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php
Alters existing routes for a specific collection.
NodeAdminRouteSubscriber::alterRoutes in core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php
Alters existing routes for a specific collection.
ResourceRoutes::alterRoutes in core/modules/rest/src/Routing/ResourceRoutes.php
Alters existing routes for a specific collection.

... See full list

File

core/lib/Drupal/Core/Routing/RouteSubscriberBase.php, line 24
Contains \Drupal\Core\Routing\RouteSubscriberBase.

Class

RouteSubscriberBase
Provides a base implementation for RouteSubscriber.

Namespace

Drupal\Core\Routing

Code

protected abstract function alterRoutes(RouteCollection $collection);