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::renderPlaceholder

protected BigPipe::renderPlaceholder($placeholder, array $placeholder_render_array) Renders a placeholder, and just that placeholder. BigPipe renders placeholders independently of the rest of the content, so it needs to be able to render placeholders by themselves. Parameters string $placeholder: The placeholder to render. array $placeholder_render_array: The render array associated with that placeholder. Return value array The render array representing the rendered placeholder. See also \Dr

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::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::$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::$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::$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::$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;

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::$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;