You are here

consumer_image_styles.services.yml in Consumer Image Styles 8.3

File

consumer_image_styles.services.yml
View source
  1. services:
  2. consumer_image_styles.image_styles_provider:
  3. class: Drupal\consumer_image_styles\ImageStylesProvider
  4. arguments:
  5. - '@entity_type.manager'
  6. - '@image.factory'
  7. serializer.normalizer.link_collection.consumer_image_styles:
  8. class: Drupal\consumer_image_styles\Normalizer\LinkCollectionNormalizer
  9. decorates: serializer.normalizer.link_collection.jsonapi
  10. arguments:
  11. - '@serializer.normalizer.link_collection.consumer_image_styles.inner'
  12. - '@consumer.negotiator'
  13. - '@consumer_image_styles.image_styles_provider'
  14. - '@image.factory'
  15. - '@request_stack'
  16. tags:
  17. - { name: normalizer, priority: 1025, format: api_json }