public static function RouteSubscriber::getSubscribedEvents in Sitewide Alert 8
Overrides RouteSubscriberBase::getSubscribedEvents
File
- src/
Routing/ RouteSubscriber.php, line 44
Class
- RouteSubscriber
- Class RouteSubscriber.
Namespace
Drupal\sitewide_alert\RoutingCode
public static function getSubscribedEvents() {
$events = parent::getSubscribedEvents();
$events[RoutingEvents::ALTER] = [
'onAlterRoutes',
-101,
];
return $events;
}