rest_views.services.yml in REST Views 2.0.x
Same filename and directory in other branches
File
rest_views.services.ymlView source
- services:
- # A normalizer that simply unwraps the data object.
- serializer.normalizer.serialized:
- class: Drupal\rest_views\Normalizer\DataNormalizer
- tags:
- - { name: normalizer }
- # A normalizer that renders a data array.
- serializer.normalizer.render:
- class: Drupal\rest_views\Normalizer\RenderNormalizer
- arguments: ['@renderer']
- tags:
- - { name: normalizer }