You are here

public static function NodeRevisionRouteSubscriber::getSubscribedEvents in Multiversion 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/EventSubscriber/NodeRevisionRouteSubscriber.php, line 45

Class

NodeRevisionRouteSubscriber
Alters entity.node.revision route.

Namespace

Drupal\multiversion\EventSubscriber

Code

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