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 modules/ds_extras/src/EventSubscriber/RouteSubscriber.php \Drupal\ds_extras\EventSubscriber\RouteSubscriber::getSubscribedEvents()
- 8.3 modules/ds_extras/src/EventSubscriber/RouteSubscriber.php \Drupal\ds_extras\EventSubscriber\RouteSubscriber::getSubscribedEvents()
File
- modules/
ds_extras/ src/ EventSubscriber/ RouteSubscriber.php, line 17
Class
- RouteSubscriber
- Alter the node view route.
Namespace
Drupal\ds_extras\EventSubscriberCode
public static function getSubscribedEvents() {
$events[RoutingEvents::ALTER][] = [
'alterRoutes',
100,
];
return $events;
}