function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.