You are here

rest_views.services.yml in REST Views 8

Same filename and directory in other branches
  1. 2.0.x rest_views.services.yml

File

rest_views.services.yml
View source
  1. services:
  2. # A normalizer that simply unwraps the data object.
  3. serializer.normalizer.serialized:
  4. class: Drupal\rest_views\Normalizer\DataNormalizer
  5. tags:
  6. - { name: normalizer }
  7. # A normalizer that renders a data array.
  8. serializer.normalizer.render:
  9. class: Drupal\rest_views\Normalizer\RenderNormalizer
  10. arguments: ['@renderer']
  11. tags:
  12. - { name: normalizer }