You are here

advagg.services.yml in Advanced CSS/JS Aggregation 8.3

Same filename and directory in other branches
  1. 8.4 advagg.services.yml
  2. 8.2 advagg.services.yml

File

advagg.services.yml
View source
  1. services:
  2. logger.channel.advagg:
  3. parent: logger.channel_base
  4. arguments: ['advagg']
  5. cache.advagg:
  6. class: Drupal\Core\Cache\CacheBackendInterface
  7. tags:
  8. - { name: cache.bin }
  9. factory: cache_factory:get
  10. arguments: ['advagg']
  11. advagg.optimizer.css:
  12. class: Drupal\advagg\Asset\CssOptimizer
  13. arguments: [ '@config.factory', '@event_dispatcher', '@cache.advagg' ]
  14. advagg.optimizer.js:
  15. class: Drupal\advagg\Asset\JsOptimizer
  16. arguments: [ '@config.factory', '@event_dispatcher', '@cache.advagg' ]
  17. advagg.suscriber:
  18. class: Drupal\advagg\EventSubscriber\ResponseSubscriber
  19. tags:
  20. -
  21. name: event_subscriber
  22. arguments: [ '@config.factory' ]