You are here

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

Same name and namespace in other branches
  1. 8.3 modules/search_api_solr_devel/src/Routing/DevelRouteSubscriber.php \Drupal\search_api_solr_devel\Routing\DevelRouteSubscriber::getSubscribedEvents()
  2. 4.x modules/search_api_solr_devel/src/Routing/DevelRouteSubscriber.php \Drupal\search_api_solr_devel\Routing\DevelRouteSubscriber::getSubscribedEvents()

Overrides RouteSubscriberBase::getSubscribedEvents

File

search_api_solr_devel/src/Routing/DevelRouteSubscriber.php, line 79

Class

DevelRouteSubscriber
Subscriber for Search Api Solr routes.

Namespace

Drupal\search_api_solr_devel\Routing

Code

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