You are here

public static function ReplicationConfigRouteSubscriber::getSubscribedEvents in Workspace 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/EventSubscriber/ReplicationConfigRouteSubscriber.php, line 29

Class

ReplicationConfigRouteSubscriber
ReplicationConfigRouteSubscriber class.

Namespace

Drupal\workspace\EventSubscriber

Code

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