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
- {#
- /**
- * @file
- * Minimal template to ensure chained property access works with white-listing.
- */
- #}
- <article{{ attributes }}>
-
- <div>
- {{ node.field_term.entity.label }}
- </div>
-
- </article>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.