You are here

public static function MinifyHTMLExit::getSubscribedEvents in Minify Source HTML 8

File

src/EventSubscriber/MinifyHTMLExit.php, line 132

Class

MinifyHTMLExit
Minifies the HTML of the response.

Namespace

Drupal\minifyhtml\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events = [];
  $events[KernelEvents::RESPONSE][] = [
    'response',
    -10000,
  ];
  return $events;
}