public static function TmgmtContentRouteSubscriber::getSubscribedEvents in Translation Management Tool 8
Overrides RouteSubscriberBase::getSubscribedEvents
File
- sources/
content/ src/ Routing/ TmgmtContentRouteSubscriber.php, line 30
Class
- TmgmtContentRouteSubscriber
- Subscriber to alter entity translation routes.
Namespace
Drupal\tmgmt_content\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
// ContentTranslationRouteSubscriber is -100, make sure we are later.
$events[RoutingEvents::ALTER] = array(
'onAlterRoutes',
-211,
);
return $events;
}