public static function BubblingTest::bubblingPlaceholder in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php \Drupal\Tests\Core\Render\BubblingTest::bubblingPlaceholder()
- 10 core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php \Drupal\Tests\Core\Render\BubblingTest::bubblingPlaceholder()
#lazy_builder callback for testBubblingWithPrerender().
File
- core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php, line 697 - Contains \Drupal\Tests\Core\Render\RendererBubblingTest.
Class
Namespace
Drupal\Tests\Core\RenderCode
public static function bubblingPlaceholder($foo, $baz) {
return [
'#markup' => 'Placeholder!' . $foo . $baz,
];
}