You are here

service jsonapi.resource_response_validator.subscriber in JSON:API 8

Same name and namespace in other branches
  1. 8.2 jsonapi.services.yml \jsonapi.resource_response_validator.subscriber

Class

Drupal\jsonapi\EventSubscriber\ResourceResponseValidator

Tags

  • event_subscriber

File

./jsonapi.services.yml
jsonapi.services.yml

View source
  1. class: Drupal\jsonapi\EventSubscriber\ResourceResponseValidator
  2. arguments:
  3. - '@jsonapi.serializer_do_not_use_removal_imminent'
  4. - '@logger.channel.jsonapi'
  5. - '@module_handler'
  6. - '@app.root'
  7. calls:
  8. - [setValidator, { }]
  9. - [setSchemaFactory, ['@?schemata.schema_factory']]
  10. tags:
  11. - { name: event_subscriber, priority: 1000 }