common-test-render-element.html.twig
Same filename in other branches
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.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for the common test render element.
- *
- * Available variables:
- * - foo: A render array.
- *
- * @ingroup themeable
- */
- #}
- {{ foo }}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.