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

BigPipeResponseAttachmentsProcessor::processAttachments

public BigPipeResponseAttachmentsProcessor::processAttachments(AttachmentsInterface $response) Processes the attachments of a response that has attachments. Libraries, JavaScript settings, feeds, HTML <head> tags, HTML <head> links, HTTP headers, and the HTTP status code are attached to render arrays using the #attached property. The #attached property is an associative array, where the keys are the attachment types and the values are the attached data. For example: $build['#attache

BigPipeResponseAttachmentsProcessor::$htmlResponseAttachmentsProcessor

The HTML response attachments processor service. Type: \Drupal\Core\Render\AttachmentsResponseProcessorInterface File core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php, line 29 Class BigPipeResponseAttachmentsProcessor Processes attachments of HTML responses with BigPipe enabled. Namespace Drupal\big_pipe\Render Code protected $htmlResponseAttachmentsProcessor;

BigPipeResponseAttachmentsProcessor

Processes attachments of HTML responses with BigPipe enabled. Hierarchy class \Drupal\Core\Render\HtmlResponseAttachmentsProcessor implements AttachmentsResponseProcessorInterfaceclass \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor See also \Drupal\Core\Render\HtmlResponseAttachmentsProcessor \Drupal\big_pipe\Render\BigPipeInterface File core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php, line 22 Namespace Drupal\big_pipe\Render Members Name Modi

BigPipeResponse::setBigPipeService

public BigPipeResponse::setBigPipeService(BigPipeInterface $big_pipe) Sets the BigPipe service to use. Parameters \Drupal\big_pipe\Render\BigPipeInterface $big_pipe: The BigPipe service. File core/modules/big_pipe/src/Render/BigPipeResponse.php, line 33 Class BigPipeResponse A response that is sent in chunks by the BigPipe service. Namespace Drupal\big_pipe\Render Code public function setBigPipeService(BigPipeInterface $big_pipe) { $this->bigPipe = $big_pipe; }

BigPipeResponse::sendContent

public BigPipeResponse::sendContent() Sends content for the current web response. Return value Response Overrides Response::sendContent File core/modules/big_pipe/src/Render/BigPipeResponse.php, line 40 Class BigPipeResponse A response that is sent in chunks by the BigPipe service. Namespace Drupal\big_pipe\Render Code public function sendContent() { $this->bigPipe->sendContent($this->content, $this->getAttachments()); return $this; }

BigPipeResponse::$bigPipe

The BigPipe service. Type: \Drupal\big_pipe\Render\BigPipeInterface File core/modules/big_pipe/src/Render/BigPipeResponse.php, line 25 Class BigPipeResponse A response that is sent in chunks by the BigPipe service. Namespace Drupal\big_pipe\Render Code protected $bigPipe;

BigPipeResponse

A response that is sent in chunks by the BigPipe service. Note we cannot use \Symfony\Component\HttpFoundation\StreamedResponse because it makes the content inaccessible (hidden behind a callback), which means no middlewares are able to modify the content anymore. @todo Will become obsolete with https://www.drupal.org/node/2577631 Hierarchy class \Symfony\Component\HttpFoundation\Responseclass \Drupal\Core\Render\HtmlResponse implements CacheableResponseInterface, AttachmentsInterface uses Cach

BigPipeMarkup

Defines an object that passes safe strings through BigPipe's render pipeline. This object should only be constructed with a known safe string. If there is any risk that the string contains user-entered data that has not been filtered first, it must not be used. @internal This object is marked as internal because it should only be used in the BigPipe render pipeline. Hierarchy class \Drupal\big_pipe\Render\BigPipeMarkup implements \Countable, MarkupInterface uses MarkupTrait See also \Drupal

BigPipeInterface::sendContent

public BigPipeInterface::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. File core/modules/big_pipe/src/Render/BigPipeInterface.php, line 142 Class BigPipeInterface Interface for sending an HTML response in chunks (to get faster page loads). Namespace Drupal\big_pipe\Render Code public function sendContent($content,