You are here

hal.services.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/hal/hal.services.yml
core/modules/hal/hal.services.yml

File

core/modules/hal/hal.services.yml
View source
  1. services:
  2. serializer.normalizer.entity_reference_item.hal:
  3. class: Drupal\hal\Normalizer\EntityReferenceItemNormalizer
  4. arguments: ['@rest.link_manager', '@serializer.entity_resolver']
  5. tags:
  6. - { name: normalizer, priority: 10 }
  7. serializer.normalizer.field_item.hal:
  8. class: Drupal\hal\Normalizer\FieldItemNormalizer
  9. tags:
  10. - { name: normalizer, priority: 10 }
  11. serializer.normalizer.field.hal:
  12. class: Drupal\hal\Normalizer\FieldNormalizer
  13. tags:
  14. - { name: normalizer, priority: 10 }
  15. serializer.normalizer.file_entity.hal:
  16. class: Drupal\hal\Normalizer\FileEntityNormalizer
  17. tags:
  18. - { name: normalizer, priority: 20 }
  19. arguments: ['@entity.manager', '@http_client', '@rest.link_manager', '@module_handler']
  20. serializer.normalizer.entity.hal:
  21. class: Drupal\hal\Normalizer\ContentEntityNormalizer
  22. arguments: ['@rest.link_manager', '@entity.manager', '@module_handler']
  23. tags:
  24. - { name: normalizer, priority: 10 }
  25. serializer.encoder.hal:
  26. class: Drupal\hal\Encoder\JsonEncoder
  27. tags:
  28. - { name: encoder, priority: 10, format: hal_json }
  29. exception.default_json:
  30. class: Drupal\hal\EventSubscriber\ExceptionHalJsonSubscriber
  31. tags:
  32. - { name: event_subscriber }