BigPipeStrategy::NOJS_COOKIE

BigPipe no-JS cookie name. File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 65 Class BigPipeStrategy Defines the BigPipe placeholder strategy, to send HTML in chunks. Namespace Drupal\big_pipe\Render\Placeholder Code const NOJS_COOKIE = 'big_pipe_nojs';

BigPipeStrategy::doProcessPlaceholders

protected BigPipeStrategy::doProcessPlaceholders(array $placeholders) Transforms placeholders to BigPipe placeholders, either no-JS or JS. Parameters array $placeholders: The placeholders to process. Return value array The BigPipe placeholders. File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 136 Class BigPipeStrategy Defines the BigPipe placeholder strategy, to send HTML in chunks. Namespace Drupal\big_pipe\Render\Placeholder Code protected function doProc

BigPipeStrategy::processPlaceholders

public BigPipeStrategy::processPlaceholders(array $placeholders) Processes placeholders to render them with different strategies. Parameters array $placeholders: The placeholders to process, with the keys being the markup for the placeholders and the values the corresponding render array describing the data to be rendered. Return value array The resulting placeholders, with a subset of the keys of $placeholders (and those being the markup for the placeholders) but with the corresponding rende

big_pipe.module

Adds BigPipe no-JS detection. File core/modules/big_pipe/big_pipe.module Functions Name Description big_pipe_help Implements hook_help(). big_pipe_page_attachments Implements hook_page_attachments().

BigPipeStrategy::createBigPipeNoJsPlaceholder

protected static BigPipeStrategy::createBigPipeNoJsPlaceholder($original_placeholder, array $placeholder_render_array, $placeholder_must_be_attribute_safe = FALSE) Creates a BigPipe no-JS placeholder. Parameters string $original_placeholder: The original placeholder. array $placeholder_render_array: The render array for a placeholder. bool $placeholder_must_be_attribute_safe: Whether the placeholder must be safe for use in a HTML attribute (in case it's a placeholder for a HTML attribute value

BigPipeResponseAttachmentsProcessor::__construct

public BigPipeResponseAttachmentsProcessor::__construct(AttachmentsResponseProcessorInterface $html_response_attachments_processor, AssetResolverInterface $asset_resolver, ConfigFactoryInterface $config_factory, AssetCollectionRendererInterface $css_collection_renderer, AssetCollectionRendererInterface $js_collection_renderer, RequestStack $request_stack, RendererInterface $renderer, ModuleHandlerInterface $module_handler) Constructs a BigPipeResponseAttachmentsProcessor object. Parameters \Dr

BigPipeStrategy::$sessionConfiguration

The session configuration. Type: \Drupal\Core\Session\SessionConfigurationInterface File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 72 Class BigPipeStrategy Defines the BigPipe placeholder strategy, to send HTML in chunks. Namespace Drupal\big_pipe\Render\Placeholder Code protected $sessionConfiguration;

BigPipeStrategy::createBigPipeJsPlaceholder

protected static BigPipeStrategy::createBigPipeJsPlaceholder($original_placeholder, array $placeholder_render_array) Creates a BigPipe JS placeholder. Parameters string $original_placeholder: The original placeholder. array $placeholder_render_array: The render array for a placeholder. Return value array The resulting BigPipe JS placeholder render array. File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 182 Class BigPipeStrategy Defines the BigPipe placeholder s

BigPipeStrategy::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 79 Class BigPipeStrategy Defines the BigPipe placeholder strategy, to send HTML in chunks. Namespace Drupal\big_pipe\Render\Placeholder Code protected $requestStack;

BigPipeStrategy::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php, line 86 Class BigPipeStrategy Defines the BigPipe placeholder strategy, to send HTML in chunks. Namespace Drupal\big_pipe\Render\Placeholder Code protected $routeMatch;