theme-test-render-element-children.html.twig

Same filename in other branches
  1. 9 core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig
  2. 8.9.x core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig
  3. 11.x core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig
{# Output for Theme API test #}
{{ element -}}
2 theme calls to theme-test-render-element-children.html.twig
RenderTest::testRenderChildren in core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
Ensures that render array children are processed correctly.
ThemeTest::testDrupalRenderChildren in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
Tests child element rendering for 'render element' theme hooks.

File

core/modules/system/tests/modules/theme_test/templates/theme-test-render-element-children.html.twig

View source
  1. {# Output for Theme API test #}
  2. {{ element -}}

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