static function LegacyControllerSubscriber::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/LegacyControllerSubscriber.php, line 64
Definition of Drupal\Core\EventSubscriber\LegacyControllerSubscriber.

Class

LegacyControllerSubscriber
Access subscriber for controller requests.

Namespace

Drupal\Core\EventSubscriber

Code

static function getSubscribedEvents() {
  $events[KernelEvents::CONTROLLER][] = array(
    'onKernelControllerLegacy',
    30,
  );
  return $events;
}