You are here

service jsonapi.exception_subscriber in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/jsonapi.services.yml \jsonapi.exception_subscriber
  2. 10 core/modules/jsonapi/jsonapi.services.yml \jsonapi.exception_subscriber

Class

Drupal\jsonapi\EventSubscriber\DefaultExceptionSubscriber

Tags

  • event_subscriber

File

core/modules/jsonapi/jsonapi.services.yml
core/modules/jsonapi/jsonapi.services.yml

View source
  1. class: Drupal\jsonapi\EventSubscriber\DefaultExceptionSubscriber
  2. tags:
  3. - { name: event_subscriber }
  4. arguments:
  5. - '@jsonapi.serializer'
  6. - '%serializer.formats%'