public static function ApeSubscriber::getSubscribedEvents in Advanced Page Expiration 8
File
- src/
EventSubscriber/ ApeSubscriber.php, line 176
Class
- ApeSubscriber
- Alter Cache-control header based on configuration of ape.
Namespace
Drupal\ape\EventSubscriberCode
public static function getSubscribedEvents() {
// Respond after FinishResponseSubscriber by setting low priority.
$events[KernelEvents::RESPONSE][] = array(
'onRespond',
-1024,
);
return $events;
}