You are here

public static function BubblingTest::bubblingPlaceholder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 655
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,
  ];
}