public function RenderStack::setRecursionStorage in Render cache 7.2
Sets the current recursion storage, overwriting everything that is already stored in the current stack frame.
Parameters
array $storage: The assets to store in the current stack frame.
Overrides RenderStackInterface::setRecursionStorage
File
- src/
Cache/ RenderStack.php, line 136 - Contains \Drupal\render_cache\Cache\RenderStack
Class
- RenderStack
- Defines the RenderStack service.
Namespace
Drupal\render_cache\CacheCode
public function setRecursionStorage(array $storage) {
$this->recursionStorage[$this->recursionLevel] = $storage;
}