jsonapi.exception_subscriber

Same name in other branches
  1. 8.9.x core/modules/jsonapi/jsonapi.services.yml \jsonapi.exception_subscriber
  2. 10 core/modules/jsonapi/jsonapi.services.yml \jsonapi.exception_subscriber
  3. 11.x core/modules/jsonapi/jsonapi.services.yml \jsonapi.exception_subscriber

Class

Drupal\jsonapi\EventSubscriber\DefaultExceptionSubscriber

Tags

  • event_subscriber

File

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%'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.