public static function AddHTTPHeaders::getSubscribedEvents in HTTP Response Headers 2.0.x
Same name and namespace in other branches
- 8.2 src/EventSubscriber/AddHTTPHeaders.php \Drupal\http_response_headers\EventSubscriber\AddHTTPHeaders::getSubscribedEvents()
- 8 src/EventSubscriber/AddHTTPHeaders.php \Drupal\http_response_headers\EventSubscriber\AddHTTPHeaders::getSubscribedEvents()
File
- src/
EventSubscriber/ AddHTTPHeaders.php, line 70 - Contains \Drupal\http_response_headers\EventSubscriber\AddHTTPHeaders.
Class
- AddHTTPHeaders
- Provides AddHTTPHeaders.
Namespace
Drupal\http_response_headers\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'onRespond',
-100,
];
return $events;
}