You are here

public function RenderStackInterface::isRecursive in Render cache 7.2

Whether we are in a recursive context.

This is useful to determine e.g. if its safe to output a placeholder.

Return value

bool TRUE if its recursive, FALSE otherwise.

1 method overrides RenderStackInterface::isRecursive()
RenderStack::isRecursive in src/Cache/RenderStack.php
Whether we are in a recursive context.

File

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

Class

RenderStackInterface
Defines an interface for a render stack.

Namespace

Drupal\render_cache\Cache

Code

public function isRecursive();