You are here

http2_server_push.services.yml in HTTP/2 Server Push 8

File

http2_server_push.services.yml
View source
  1. services:
  2. asset.css.collection_renderer.http2_server_push:
  3. public: false
  4. class: \Drupal\http2_server_push\Asset\CssCollectionRenderer
  5. decorates: asset.css.collection_renderer
  6. arguments: ['@asset.css.collection_renderer.http2_server_push.inner', '@request_stack']
  7. asset.js.collection_renderer.http2_server_push:
  8. public: false
  9. class: \Drupal\http2_server_push\Asset\JsCollectionRenderer
  10. decorates: asset.js.collection_renderer
  11. arguments: ['@asset.js.collection_renderer.http2_server_push.inner', '@request_stack']
  12. html_response.attachments_processor.http2_server_push:
  13. public: false
  14. class: \Drupal\http2_server_push\Render\HtmlResponseAttachmentsProcessor
  15. decorates: html_response.attachments_processor
  16. arguments: ['@html_response.attachments_processor.http2_server_push.inner', '@request_stack']
  17. http2_server_push.config_subscriber:
  18. class: Drupal\http2_server_push\EventSubscriber\ConfigSubscriber
  19. arguments:
  20. - '@cache_tags.invalidator'
  21. - '@kernel'
  22. - '@config.installer'
  23. tags:
  24. - { name: event_subscriber }