public function RenderStack::getRecursionLevel in Render cache 7.2
Returns the current recursion level.
Return value
int The current recursion level.
Overrides RenderStackInterface::getRecursionLevel
File
- src/
Cache/ RenderStack.php, line 103 - Contains \Drupal\render_cache\Cache\RenderStack
Class
- RenderStack
- Defines the RenderStack service.
Namespace
Drupal\render_cache\CacheCode
public function getRecursionLevel() {
return $this->recursionLevel;
}