You are here

public static function RouteSubscriber::getSubscribedEvents in Scheduled Updates 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 86
Contains \Drupal\scheduled_updates\Routing\RouteSubscriber.

Class

RouteSubscriber
Subscriber for Field UI routes.

Namespace

Drupal\scheduled_updates\Routing

Code

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