You are here

public static function WebprofilerEventSubscriber::getSubscribedEvents in Devel 8.2

Same name and namespace in other branches
  1. 8.3 webprofiler/src/EventSubscriber/WebprofilerEventSubscriber.php \Drupal\webprofiler\EventSubscriber\WebprofilerEventSubscriber::getSubscribedEvents()
  2. 8 webprofiler/src/EventSubscriber/WebprofilerEventSubscriber.php \Drupal\webprofiler\EventSubscriber\WebprofilerEventSubscriber::getSubscribedEvents()
  3. 4.x webprofiler/src/EventSubscriber/WebprofilerEventSubscriber.php \Drupal\webprofiler\EventSubscriber\WebprofilerEventSubscriber::getSubscribedEvents()

Return value

array

File

webprofiler/src/EventSubscriber/WebprofilerEventSubscriber.php, line 92

Class

WebprofilerEventSubscriber
Class WebprofilerEventSubscriber

Namespace

Drupal\webprofiler\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::RESPONSE => [
      'onKernelResponse',
      -128,
    ],
  ];
}