common-test-foo.html.twig

Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/common_test/templates/common-test-foo.html.twig
  2. 10 core/modules/system/tests/modules/common_test/templates/common-test-foo.html.twig
  3. 11.x core/modules/system/tests/modules/common_test/templates/common-test-foo.html.twig

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.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the common test foo.
  5. *
  6. * Available variables:
  7. * - foo: foo.
  8. * - bar: bar.
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. {{ foo }}{{ bar -}}

Related topics


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