Provides a base implementation for RouteSubscriber.
Hierarchy
- class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterface
File
- core/lib/Drupal/Core/Routing/RouteSubscriberBase.php, line 11
Namespace
Drupal\Core\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RouteSubscriberBase::alterRoutes | abstract protected | function | Alters existing routes for a specific collection. |
RouteSubscriberBase::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
RouteSubscriberBase::onAlterRoutes | public | function | Delegates the route altering to self::alterRoutes(). |
Please login to continue.