You are here

public function RenderStack::drupalRender in Render cache 7.2

@codeCoverageIgnore

Overrides RenderStackInterface::drupalRender

1 call to RenderStack::drupalRender()
RenderStack::render in src/Cache/RenderStack.php

File

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

Class

RenderStack
Defines the RenderStack service.

Namespace

Drupal\render_cache\Cache

Code

public function drupalRender(array &$render) {
  $markup = drupal_render($render);

  // Store and remove recursive storage.
  // for our properties.
  $this
    ->addRecursionStorage($render);
  return $markup;
}