common-test-foo.html.twig in Drupal 10
Same filename and directory in other branches
Default theme implementation for the common test foo.
Available variables:
- foo: foo.
- bar: bar.
3 theme calls to common-test-foo.html.twig
- RendererTest::providerTestRenderBasic in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - Provides a list of render arrays to test basic rendering.
- RendererTest::testRenderWithoutThemeArguments in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender
- RendererTest::testRenderWithThemeArguments in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender
File
core/modules/system/tests/modules/common_test/templates/common-test-foo.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the common test foo.
- *
- * Available variables:
- * - foo: foo.
- * - bar: bar.
- *
- * @ingroup themeable
- */
- #}
- {{ foo }}{{ bar -}}