function RendererCallbackTest::renderCallback
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\RendererCallbackTest::renderCallback()
- 10 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\RendererCallbackTest::renderCallback()
- 11.x core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\RendererCallbackTest::renderCallback()
A test render callback.
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererCallbackTest.php, line 74
Class
- RendererCallbackTest
- @coversDefaultClass \Drupal\Core\Render\Renderer @group Render @group legacy Once Renderer::doCallback() throws exceptions this will no longer be a legacy test.
Namespace
Drupal\Tests\Core\RenderCode
public static function renderCallback($element = []) {
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.