function BigPipeResponse::setBigPipeService

Same name and namespace in other branches
  1. 8.9.x core/modules/big_pipe/src/Render/BigPipeResponse.php \Drupal\big_pipe\Render\BigPipeResponse::setBigPipeService()
  2. 10 core/modules/big_pipe/src/Render/BigPipeResponse.php \Drupal\big_pipe\Render\BigPipeResponse::setBigPipeService()
  3. 11.x core/modules/big_pipe/src/Render/BigPipeResponse.php \Drupal\big_pipe\Render\BigPipeResponse::setBigPipeService()

Sets the BigPipe service to use.

Parameters

\Drupal\big_pipe\Render\BigPipe $big_pipe: The BigPipe service.

File

core/modules/big_pipe/src/Render/BigPipeResponse.php, line 104

Class

BigPipeResponse
A response that is sent in chunks by the BigPipe service.

Namespace

Drupal\big_pipe\Render

Code

public function setBigPipeService(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.