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