static function RouteProcessorSubscriber::getSubscribedEvents

Registers the methods in this class that should be listeners.

Return value

array An array of event listener definitions.

Overrides EventSubscriberInterface::getSubscribedEvents

File

drupal/core/lib/Drupal/Core/EventSubscriber/RouteProcessorSubscriber.php, line 45
Definition of Drupal\Core\EventSubscriber\RouteProcessorSubscriber.

Class

RouteProcessorSubscriber
Listener to process request controller information.

Namespace

Drupal\Core\EventSubscriber

Code

static function getSubscribedEvents() {

  // The RouterListener has priority 32, and we need to run after that.
  $events[KernelEvents::REQUEST][] = array(
    'onRequestSetController',
    30,
  );
  return $events;
}