You are here

public static function BoostResponseSubscriber::getSubscribedEvents in Boost 8

File

src/EventSubscriber/BoostResponseSubscriber.php, line 55
Contains Drupal\boost\EventSubscriber\BoostResponseSubscriber

Class

BoostResponseSubscriber
Class BoostResponseSubscriber.

Namespace

Drupal\boost\EventSubscriber

Code

public static function getSubscribedEvents() {
  return array(
    KernelEvents::REQUEST => array(
      array(
        'onRequest',
        100,
      ),
    ),
    KernelEvents::RESPONSE => array(
      array(
        'onRespond',
        -100,
      ),
    ),
  );
}