You are here

tinypng.services.yml in TinyPNG 8

File

tinypng.services.yml
View source
  1. services:
  2. tinypng.compress:
  3. class: Drupal\tinypng\TinyPng
  4. arguments:
  5. - '@config.factory'
  6. - '@file_system'
  7. tinypng.route_subscriber:
  8. class: Drupal\tinypng\Routing\RouteSubscriber
  9. tags:
  10. - { name: event_subscriber }
  11. tinypng.image_handler:
  12. class: Drupal\tinypng\TinyPngImageHandler
  13. arguments:
  14. - '@tinypng.compress'
  15. - '@config.factory'
  16. - '@image.factory'
  17. - '@logger.factory'