You are here

node.html.twig in Drupal 8

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

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>