You are here

protected static function RenderCachePlaceholderMock::drupalRender in Render cache 7.2

Overrides drupal_render().

@codeCoverageIgnore

Parameters

array $elements: The elements to render.

Return value

string The rendered HTML string.

Overrides RenderCachePlaceholder::drupalRender

File

tests/src/Cache/RenderCachePlaceholderTest.php, line 292
Contains \Drupal\render_cache\Tests\Cache\RenderCachePlaceholderTest

Class

RenderCachePlaceholderMock

Namespace

Drupal\render_cache\Tests\Cache

Code

protected static function drupalRender(array &$elements) {
  return static::$mock
    ->drupalRender($elements);
}