public static function RendererCallbackTest::renderCallback in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php \Drupal\Tests\Core\Render\RendererCallbackTest::renderCallback()
- 9 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 70
Class
- RendererCallbackTest
- @coversDefaultClass \Drupal\Core\Render\Renderer @group Render
Namespace
Drupal\Tests\Core\RenderCode
public static function renderCallback($element = []) {
return $element;
}