public static function ResourceResponseValidator::getSubscribedEvents in JSON:API 8.2
Same name and namespace in other branches
- 8 src/EventSubscriber/ResourceResponseValidator.php \Drupal\jsonapi\EventSubscriber\ResourceResponseValidator::getSubscribedEvents()
File
- src/
EventSubscriber/ ResourceResponseValidator.php, line 102
Class
- ResourceResponseValidator
- Response subscriber that validates a JSON:API response.
Namespace
Drupal\jsonapi\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'onResponse',
];
return $events;
}