BigPipe::sendPostBody

protected BigPipe::sendPostBody($post_body) Sends </body> and everything after it. Parameters string $post_body: The HTML response's content after the closing </body> tag. File core/modules/big_pipe/src/Render/BigPipe.php, line 496 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected function sendPostBody($post_body) { print '</body>'; print $post_body; flush(); }

BigPipe::sendContent

public BigPipe::sendContent($content, array $attachments) Sends an HTML response in chunks using the BigPipe technique. Parameters string $content: The HTML response content to send. array $attachments: The HTML response's attachments. Overrides BigPipeInterface::sendContent File core/modules/big_pipe/src/Render/BigPipe.php, line 112 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code public function sendContent($content, array $attachments) { // First,

BigPipe::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/big_pipe/src/Render/BigPipe.php, line 82 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $configFactory;

BigPipe::getPlaceholderOrder

protected BigPipe::getPlaceholderOrder($html, $placeholders) Gets the BigPipe placeholder order. Determines the order in which BigPipe placeholders must be replaced. Parameters string $html: HTML markup. array $placeholders: Associative array; the BigPipe placeholders. Keys are the BigPipe placeholder IDs. Return value array Indexed array; the order in which the BigPipe placeholders must be sent. Values are the BigPipe placeholder IDs. Note that only unique placeholders are kept: if the same

BigPipe::$session

The session. Type: \Symfony\Component\HttpFoundation\Session\SessionInterface File core/modules/big_pipe/src/Render/BigPipe.php, line 54 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $session;

BigPipe::$eventDispatcher

The event dispatcher. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/modules/big_pipe/src/Render/BigPipe.php, line 75 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $eventDispatcher;

BigPipe::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/big_pipe/src/Render/BigPipe.php, line 47 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $renderer;

BigPipe::filterEmbeddedResponse

protected BigPipe::filterEmbeddedResponse(Request $fake_request, Response $embedded_response) Filters the given embedded response, using the cumulative AJAX page state. Parameters \Symfony\Component\HttpFoundation\Request $fake_request: A fake subrequest that contains the cumulative AJAX page state of the HTML document and all preceding Embedded HTML or AJAX responses. \Symfony\Component\HttpFoundation\Response|\Drupal\Core\Render\HtmlResponse|\Drupal\Core\Ajax\AjaxResponse $embedded_response:

BigPipe::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/big_pipe/src/Render/BigPipe.php, line 61 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $requestStack;

BigPipe::$httpKernel

The HTTP kernel. Type: \Symfony\Component\HttpKernel\HttpKernelInterface File core/modules/big_pipe/src/Render/BigPipe.php, line 68 Class BigPipe The default BigPipe service. Namespace Drupal\big_pipe\Render Code protected $httpKernel;