public static function RouteSubscriber::getSubscribedEvents in Language Hierarchy 8
Same name and namespace in other branches
- 2.x src/Routing/RouteSubscriber.php \Drupal\language_hierarchy\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 49
Class
- RouteSubscriber
- Listens to the dynamic route events.
Namespace
Drupal\language_hierarchy\RoutingCode
public static function getSubscribedEvents() {
// Come after field_ui.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-110,
];
return $events;
}