You are here

public static function RouteSubscriber::getSubscribedEvents in Token 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 69

Class

RouteSubscriber
Subscriber for Devel routes.

Namespace

Drupal\token\Routing

Code

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