Same filename in other branches
  1. 5.0.x advagg.services.yml
  2. 6.0.x advagg.services.yml
  3. 8.x-3.x advagg.services.yml
  4. 8.x-4.x advagg.services.yml
advagg.services.yml

File

./advagg.services.yml

View source
  1. services:
  2. asset.css.collection_renderer:
  3. class: Drupal\advagg\Asset\CssCollectionRenderer
  4. arguments: [ '@state', '@config.factory' ]
  5. asset.css.collection_optimizer:
  6. class: Drupal\advagg\Asset\CssCollectionOptimizer
  7. arguments: [ '@asset.css.collection_grouper', '@asset.css.optimizer', '@asset.css.dumper', '@state', '@config.factory', '@state.advagg.aggregates', '@module_handler', '@state.advagg.files', '@request_stack' ]
  8. asset.css.collection_grouper:
  9. class: Drupal\advagg\Asset\CssCollectionGrouper
  10. arguments: [ '@config.factory', '@state.advagg.files', '@module_handler' ]
  11. asset.css.dumper:
  12. class: Drupal\advagg\Asset\AssetDumper
  13. arguments: [ '@config.factory', '@module_handler' ]
  14. asset.js.collection_renderer:
  15. class: Drupal\advagg\Asset\JsCollectionRenderer
  16. arguments: [ '@state', '@config.factory' ]
  17. asset.js.collection_optimizer:
  18. class: Drupal\advagg\Asset\JsCollectionOptimizer
  19. arguments: [ '@asset.js.collection_grouper', '@asset.js.optimizer', '@asset.js.dumper', '@state', '@config.factory', '@state.advagg.aggregates', '@module_handler', '@state.advagg.files', '@request_stack' ]
  20. asset.js.collection_grouper:
  21. class: Drupal\advagg\Asset\JsCollectionGrouper
  22. arguments: [ '@module_handler' ]
  23. asset.js.dumper:
  24. class: Drupal\advagg\Asset\AssetDumper
  25. arguments: [ '@config.factory', '@module_handler' ]
  26. ajax_response.attachments_processor:
  27. class: Drupal\advagg\Ajax\AjaxResponseAttachmentsProcessor
  28. tags:
  29. arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler']
  30. html_response.attachments_processor:
  31. class: Drupal\advagg\Render\HtmlResponseAttachmentsProcessor
  32. tags:
  33. arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler' ]
  34. asset.resolver:
  35. class: Drupal\advagg\Asset\AssetResolver
  36. arguments: ['@library.discovery', '@library.dependency_resolver', '@module_handler', '@theme.manager', '@language_manager', '@cache.data', '@asset.css.collection_optimizer', '@asset.js.collection_optimizer', '@state.advagg.files' ]
  37. cache.advagg.minify:
  38. class: Drupal\Core\Cache\CacheBackendInterface
  39. tags:
  40. - { name: cache.bin }
  41. factory: cache_factory:get
  42. arguments: [advagg_minify]
  43. state.advagg.aggregates:
  44. class: Drupal\advagg\State\Aggregates
  45. arguments: ['@keyvalue', '@cache.bootstrap', '@lock']
  46. state.advagg.files:
  47. class: Drupal\advagg\State\Files
  48. arguments: ['@keyvalue', '@config.factory', '@module_handler', '@asset.css.dumper', '@cache.bootstrap', '@lock']

Services

Title Deprecated Summary
ajax_response.attachments_processor Drupal\advagg\Ajax\AjaxResponseAttachmentsProcessor
asset.css.collection_grouper Drupal\advagg\Asset\CssCollectionGrouper
asset.css.collection_optimizer Drupal\advagg\Asset\CssCollectionOptimizer
asset.css.collection_renderer Drupal\advagg\Asset\CssCollectionRenderer
asset.css.dumper Drupal\advagg\Asset\AssetDumper
asset.js.collection_grouper Drupal\advagg\Asset\JsCollectionGrouper
asset.js.collection_optimizer Drupal\advagg\Asset\JsCollectionOptimizer
asset.js.collection_renderer Drupal\advagg\Asset\JsCollectionRenderer
asset.js.dumper Drupal\advagg\Asset\AssetDumper
asset.resolver Drupal\advagg\Asset\AssetResolver
cache.advagg.minify Drupal\Core\Cache\CacheBackendInterface
html_response.attachments_processor Drupal\advagg\Render\HtmlResponseAttachmentsProcessor
state.advagg.aggregates Drupal\advagg\State\Aggregates
state.advagg.files Drupal\advagg\State\Files