public static function RouteSubscriber::getSubscribedEvents in Display Suite 8.4
Same name in this branch
- 8.4 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::getSubscribedEvents()
- 8.4 modules/ds_devel/src/Routing/RouteSubscriber.php \Drupal\ds_devel\Routing\RouteSubscriber::getSubscribedEvents()
- 8.4 modules/ds_extras/src/EventSubscriber/RouteSubscriber.php \Drupal\ds_extras\EventSubscriber\RouteSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 8.2 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::getSubscribedEvents()
- 8.3 src/Routing/RouteSubscriber.php \Drupal\ds\Routing\RouteSubscriber::getSubscribedEvents()
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 72
Class
- RouteSubscriber
- Subscriber for Devel routes.
Namespace
Drupal\ds\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
100,
];
return $events;
}