You are here

public function TestCallables::preRenderPrinted in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestCallables::preRenderPrinted()

File

core/tests/Drupal/Tests/Core/Render/RendererTest.php, line 1068
Contains \Drupal\Tests\Core\Render\RendererTest.

Class

TestCallables

Namespace

Drupal\Tests\Core\Render

Code

public function preRenderPrinted($elements) {
  $elements['#printed'] = TRUE;
  return $elements;
}