public function TestCallables::preRenderPrinted in Drupal 8
Same name and namespace in other branches
- 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
Namespace
Drupal\Tests\Core\RenderCode
public function preRenderPrinted($elements) {
$elements['#printed'] = TRUE;
return $elements;
}