Subscriber for entity translation routes.
Hierarchy
- class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterface
- class \Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
File
- core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 14
Namespace
Drupal\content_translation\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContentTranslationRouteSubscriber::$contentTranslationManager | protected | property | The content translation manager. |
ContentTranslationRouteSubscriber::alterRoutes | protected | function | Alters existing routes for a specific collection. Overrides RouteSubscriberBase::alterRoutes |
ContentTranslationRouteSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides RouteSubscriberBase::getSubscribedEvents |
ContentTranslationRouteSubscriber::__construct | public | function | Constructs a ContentTranslationRouteSubscriber object. |
RouteSubscriberBase::onAlterRoutes | public | function | Delegates the route altering to self::alterRoutes(). |
Please login to continue.