You are here

public static function SubrequestSubscriber::getSubscribedEvents in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 src/EventSubscriber/SubrequestSubscriber.php \Drupal\graphql\EventSubscriber\SubrequestSubscriber::getSubscribedEvents()

File

src/EventSubscriber/SubrequestSubscriber.php, line 31

Class

SubrequestSubscriber
Remap artificial requests to subrequest extraction controller.

Namespace

Drupal\graphql\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::REQUEST => 'onKernelRequest',
  ];
}