function TestCallables::preRenderPrinted
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestCallables::preRenderPrinted()
- 8.9.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestCallables::preRenderPrinted()
- 11.x core/tests/Drupal/Tests/Core/Render/RendererTest.php \Drupal\Tests\Core\Render\TestCallables::preRenderPrinted()
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php, line 1097
Class
Namespace
Drupal\Tests\Core\RenderCode
public function preRenderPrinted($elements) {
$elements['#printed'] = TRUE;
return $elements;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.