You are here

public function RenderStack::increaseRecursion in Render cache 7.2

Increments the recursion level by 1.

Overrides RenderStackInterface::increaseRecursion

2 calls to RenderStack::increaseRecursion()
RenderStack::processPostRenderCache in src/Cache/RenderStack.php
RenderStack::render in src/Cache/RenderStack.php

File

src/Cache/RenderStack.php, line 78
Contains \Drupal\render_cache\Cache\RenderStack

Class

RenderStack
Defines the RenderStack service.

Namespace

Drupal\render_cache\Cache

Code

public function increaseRecursion() {
  $this->recursionLevel += 1;
  $this->recursionStorage[$this->recursionLevel] = array();
}