Same filename in this branch
  1. 10 core/modules/node/templates/node.html.twig
  2. 10 core/themes/olivero/templates/content/node.html.twig
  3. 10 core/themes/stable9/templates/content/node.html.twig
  4. 10 core/themes/starterkit_theme/templates/content/node.html.twig
  5. 10 core/modules/statistics/tests/themes/statistics_test_attached/node.html.twig
  6. 10 core/themes/claro/templates/classy/content/node.html.twig
  7. 10 core/modules/system/tests/themes/test_theme/templates/node.html.twig
  8. 10 core/profiles/demo_umami/themes/umami/templates/content/node.html.twig
Same filename and directory in other branches
  1. 8.9.x core/modules/system/tests/themes/test_theme/templates/node.html.twig
  2. 9 core/modules/system/tests/themes/test_theme/templates/node.html.twig

Minimal template to ensure chained property access works with white-listing.

1 theme call to node.html.twig
TwigDebugMarkupTest::testTwigDebugMarkup in core/modules/system/tests/src/Functional/Theme/TwigDebugMarkupTest.php
Tests debug markup added to Twig template output.

File

core/modules/system/tests/themes/test_theme/templates/node.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Minimal template to ensure chained property access works with white-listing.
  5. */
  6. #}
  7. <article{{ attributes }}>
  8. <div>
  9. {{ node.field_term.entity.label }}
  10. </div>
  11. </article>