ContentTranslationRouteSubscriber
class ContentTranslationRouteSubscriber extends RouteSubscriberBase (View source)
Subscriber for entity translation routes.
Properties
| protected ContentTranslationManagerInterface | $contentTranslationManager | The content translation manager. |
Methods
alterRoutes(RouteCollection $collection)
Alters existing routes for a specific collection.
static array
getSubscribedEvents()
{@inheritdoc}
from
RouteSubscriberBase
__construct(ContentTranslationManagerInterface $content_translation_manager)
Constructs a ContentTranslationRouteSubscriber object.
Details
protected
alterRoutes(RouteCollection $collection)
Alters existing routes for a specific collection.
static array
getSubscribedEvents()
{@inheritdoc}
onAlterRoutes(RouteBuildEvent $event)
Delegates the route altering to self::alterRoutes().
__construct(ContentTranslationManagerInterface $content_translation_manager)
Constructs a ContentTranslationRouteSubscriber object.