You are here

public static function RouteSubscriber::getSubscribedEvents in Field tools 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/RouteSubscriber.php, line 130

Class

RouteSubscriber
Subscriber for Field Tools routes.

Namespace

Drupal\field_tools\Routing

Code

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