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