function TestPlaceholderingRenderCache::createPlaceholderAndRemember
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php \Drupal\Tests\Core\Render\TestPlaceholderingRenderCache::createPlaceholderAndRemember()
Overrides PlaceholderingRenderCache::createPlaceholderAndRemember
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php, line 1213
Class
Namespace
Drupal\Tests\Core\RenderCode
protected function createPlaceholderAndRemember(array $rendered_elements, array $pre_bubbling_elements) {
$placeholder_element = parent::createPlaceholderAndRemember($rendered_elements, $pre_bubbling_elements);
$this->placeholderElements[] = $placeholder_element;
return $placeholder_element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.