public static function LingotekRouteSubscriber::getSubscribedEvents in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8 src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 8.2 src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 4.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.1.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.2.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.3.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.4.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.5.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.7.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
- 3.8.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ LingotekRouteSubscriber.php, line 119
Class
- LingotekRouteSubscriber
- Subscriber to add lingotek controller and generate bulk administration routes for content entity translation.
Namespace
Drupal\lingotek\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
// ContentTranslationRouteSubscriber is -100.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-211,
];
return $events;
}