public function HtmlResponseBigPipeSubscriber::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php \Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber::__construct()
- 9 core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php \Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber::__construct()
Constructs a HtmlResponseBigPipeSubscriber object.
Parameters
\Drupal\big_pipe\Render\BigPipe $big_pipe: The BigPipe service.
File
- core/
modules/ big_pipe/ src/ EventSubscriber/ HtmlResponseBigPipeSubscriber.php, line 34
Class
- HtmlResponseBigPipeSubscriber
- Response subscriber to replace the HtmlResponse with a BigPipeResponse.
Namespace
Drupal\big_pipe\EventSubscriberCode
public function __construct(BigPipe $big_pipe) {
$this->bigPipe = $big_pipe;
}