Skip to main content
2 of 4
improved grammar and formatting
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

{{ content.field_test }} doesn't work in node.html.twig

I created a field whose machine name is field_test. I want to show this field in node.html.twig, but when I use {{ content.field_test }}, {{ content.field_test.value }}, or {{ content.field_test[0] }} the field is not printed.

How can I achieve this in Drupal 8.3.5?

user60258