function PsrResponseSubscriber::getSubscribedEvents
File
- 
              core/
lib/ Drupal/ Core/ EventSubscriber/ PsrResponseSubscriber.php, line 52  
Class
- PsrResponseSubscriber
 - Response subscriber for handling PSR-7 responses.
 
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() {
  $events[KernelEvents::VIEW][] = [
    'onKernelView',
  ];
  return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.