You are here

public static function KeycloakRouteSubscriber::getSubscribedEvents in Keycloak OpenID Connect 8

Overrides RouteSubscriberBase::getSubscribedEvents

File

src/Routing/KeycloakRouteSubscriber.php, line 72

Class

KeycloakRouteSubscriber
Listens to dynamic route events.

Namespace

Drupal\keycloak\Routing

Code

public static function getSubscribedEvents() {

  // Come after field_ui.
  $events[RoutingEvents::ALTER] = [
    'onAlterRoutes',
    -200,
  ];
  return $events;
}