You are here

public static function BubblingTest::bubblingPlaceholder in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php \Drupal\Tests\Core\Render\BubblingTest::bubblingPlaceholder()
  2. 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

BubblingTest

Namespace

Drupal\Tests\Core\Render

Code

public static function bubblingPlaceholder($foo, $baz) {
  return [
    '#markup' => 'Placeholder!' . $foo . $baz,
  ];
}