You are here

public static function ResponseSubscriber::getSubscribedEvents in JSON:API Include 8

File

src/EventSubscriber/ResponseSubscriber.php, line 43

Class

ResponseSubscriber
Class ResponseSubscriber.

Namespace

Drupal\jsonapi_include\EventSubscriber

Code

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