You are here

public static function RouteAlterSubscriber::getSubscribedEvents in Views Ajax Get 8

Same name and namespace in other branches
  1. 2.0.x src/EventSubscriber/RouteAlterSubscriber.php \Drupal\views_ajax_get\EventSubscriber\RouteAlterSubscriber::getSubscribedEvents()

File

src/EventSubscriber/RouteAlterSubscriber.php, line 21

Class

RouteAlterSubscriber

Namespace

Drupal\views_ajax_get\EventSubscriber

Code

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