Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ParamConverterSubscriber.php

function ParamConverterSubscriber::getSubscribedEvents

Overrides EventSubscriberInterface::getSubscribedEvents

File

core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 46

Class

ParamConverterSubscriber
Event subscriber for registering parameter converters with routes.

Namespace

Drupal\Core\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    // Run after \Drupal\system\EventSubscriber\AdminRouteSubscriber.
    $events[RoutingEvents::ALTER][] = [
        'onRoutingRouteAlterSetParameterConverters',
        -220,
    ];
    return $events;
}
RSS feed
Powered by Drupal