You are here

public static function RouteSubscriber::getSubscribedEvents in Devel 8.2

Same name and namespace in other branches
  1. 8.3 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()
  2. 8 src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()
  3. 4.x src/Routing/RouteSubscriber.php \Drupal\devel\Routing\RouteSubscriber::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 150

Class

RouteSubscriber
Subscriber for Devel routes.

Namespace

Drupal\devel\Routing

Code

public static function getSubscribedEvents() {
  $events = parent::getSubscribedEvents();
  $events[RoutingEvents::ALTER] = [
    'onAlterRoutes',
    100,
  ];
  return $events;
}