public static function SubrequestSubscriber::getSubscribedEvents in GraphQL 8.3
Same name and namespace in other branches
- 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\EventSubscriberCode
public static function getSubscribedEvents() {
return [
KernelEvents::REQUEST => 'onKernelRequest',
];
}