You are here

public function RenderStackInterface::addRecursionStorage in Render cache 7.2

Adds assets to the current stack frame and removes them from the render array.

Parameters

array $render: The render array to retrieve and remove the assets from.

bool $collect_attached: Whether or not #attached assets should be collected.

1 method overrides RenderStackInterface::addRecursionStorage()
RenderStack::addRecursionStorage in src/Cache/RenderStack.php
Adds assets to the current stack frame and removes them from the render array.

File

src/Cache/RenderStackInterface.php, line 84
Contains \Drupal\render_cache\Cache\RenderStackInterface

Class

RenderStackInterface
Defines an interface for a render stack.

Namespace

Drupal\render_cache\Cache

Code

public function addRecursionStorage(array &$render, $collect_attached = FALSE);