big_pipe.services.yml

Same filename and directory in other branches
  1. 11.x core/modules/big_pipe/big_pipe.services.yml
  2. 10 core/modules/big_pipe/big_pipe.services.yml
  3. 9 core/modules/big_pipe/big_pipe.services.yml
  4. 8.9.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. parameters:
  2. big_pipe.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. autowire: true
  7. html_response.big_pipe_subscriber:
  8. class: Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber
  9. placeholder_strategy.big_pipe:
  10. class: Drupal\big_pipe\Render\Placeholder\BigPipeStrategy
  11. tags:
  12. - { name: placeholder_strategy, priority: 0 }
  13. big_pipe:
  14. class: Drupal\big_pipe\Render\BigPipe
  15. arguments: ['@renderer', '@session', '@request_stack', '@http_kernel', '@event_dispatcher', '@config.factory', '@messenger', '@router.request_context', '@logger.channel.php', '%http.response.debug_cacheability_headers%']
  16. Drupal\big_pipe\Render\BigPipe: '@big_pipe'
  17. html_response.attachments_processor.big_pipe:
  18. public: false
  19. class: \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
  20. decorates: html_response.attachments_processor
  21. 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']
  22. route_subscriber.no_big_pipe:
  23. class: Drupal\big_pipe\EventSubscriber\NoBigPipeRouteAlterSubscriber
  24. http_middleware.big_pipe:
  25. class: \Drupal\big_pipe\StackMiddleware\ContentLength
  26. tags:
  27. # Must run after the content_length middleware.
  28. - { name: http_middleware, priority: 150 }

Services

Title Deprecated Summary
big_pipe 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.