function BubblingTest::bubblingPlaceholder

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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

Class

BubblingTest

Namespace

Drupal\Tests\Core\Render

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.