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>

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