You are here

public static function DevelRouteSubscriber::getSubscribedEvents in Search API Solr 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/DevelRouteSubscriber.php, line 79

Class

DevelRouteSubscriber
Subscriber for Search Api Solr routes.

Namespace

Drupal\search_api_solr\Routing

Code

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