public static function RouteSubscriber::getSubscribedEvents in Lightning Core 8.4
Same name and namespace in other branches
- 8.5 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::getSubscribedEvents()
- 8 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::getSubscribedEvents()
- 8.2 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::getSubscribedEvents()
- 8.3 src/Routing/RouteSubscriber.php \Drupal\lightning_core\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 101
Class
- RouteSubscriber
- Dynamically alters various routes.
Namespace
Drupal\lightning_core\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
// We need to run after Field UI.
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-110,
];
return $events;
}