public static function RouteSubscriber::getSubscribedEvents in Default Content 8
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 44 - Contains \Drupal\defaultcontent\Routing\RouteSubscriber.
Class
- RouteSubscriber
- Subscriber for Devel routes.
Namespace
Drupal\defaultcontent\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = 'onAlterRoutes';
return $events;
}