big_pipe.services.yml

Same filename in other branches
  1. 9 core/modules/big_pipe/big_pipe.services.yml
  2. 8.9.x core/modules/big_pipe/big_pipe.services.yml
  3. 11.x core/modules/big_pipe/big_pipe.services.yml
core/modules/big_pipe/big_pipe.services.yml

File

core/modules/big_pipe/big_pipe.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. html_response.big_pipe_subscriber:
  5. class: Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber
  6. arguments: ['@big_pipe']
  7. placeholder_strategy.big_pipe:
  8. class: Drupal\big_pipe\Render\Placeholder\BigPipeStrategy
  9. arguments: ['@session_configuration', '@request_stack', '@current_route_match']
  10. tags:
  11. - { name: placeholder_strategy, priority: 0 }
  12. big_pipe:
  13. class: Drupal\big_pipe\Render\BigPipe
  14. arguments: ['@renderer', '@session', '@request_stack', '@http_kernel', '@event_dispatcher', '@config.factory', '@messenger']
  15. Drupal\big_pipe\Render\BigPipe: '@big_pipe'
  16. html_response.attachments_processor.big_pipe:
  17. public: false
  18. class: \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
  19. decorates: html_response.attachments_processor
  20. arguments: ['@html_response.attachments_processor.big_pipe.inner', '@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler', '@language_manager']
  21. route_subscriber.no_big_pipe:
  22. class: Drupal\big_pipe\EventSubscriber\NoBigPipeRouteAlterSubscriber
  23. http_middleware.big_pipe:
  24. class: \Drupal\big_pipe\StackMiddleware\ContentLength
  25. tags:
  26. # Must run after the content_length middleware.
  27. - { name: http_middleware, priority: 150 }

Services

Title Deprecated Summary
big_pipe Drupal\big_pipe\Render\BigPipe
Drupal\big_pipe\Render\BigPipe
html_response.attachments_processor.big_pipe \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
html_response.big_pipe_subscriber Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber
http_middleware.big_pipe \Drupal\big_pipe\StackMiddleware\ContentLength
placeholder_strategy.big_pipe Drupal\big_pipe\Render\Placeholder\BigPipeStrategy
route_subscriber.no_big_pipe Drupal\big_pipe\EventSubscriber\NoBigPipeRouteAlterSubscriber
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.