public static function RouteSubscriber::getSubscribedEvents in Devel 8.2
Same name and namespace in other branches
- 8.3 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()
- 8 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()
- 4.x src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 150
Class
- RouteSubscriber
- Subscriber for Devel routes.
Namespace
Drupal\devel\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
100,
];
return $events;
}