common-test-render-element.html.twig in Drupal 10
Default theme implementation for the common test render element.
Available variables:
- foo: A render array.
2 theme calls to common-test-render-element.html.twig
- RendererBubblingTest::providerTestBubblingWithPrerender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Provides two test elements: one without, and one with the theme system.
- RenderTest::testDrupalRenderThemePreprocessAttached in core/
tests/ Drupal/ KernelTests/ Core/ Render/ RenderTest.php - Tests theme preprocess functions being able to attach assets.
File
core/modules/system/tests/modules/common_test/templates/common-test-render-element.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the common test render element.
- *
- * Available variables:
- * - foo: A render array.
- *
- * @ingroup themeable
- */
- #}
- {{ foo }}