Skip to content
Twig Field Finder
Theme

List (text / integer / float)

Fill in your field name

Italic values are placeholders: replace them with your own machine names, or let the builder do it.

Reads the entity directly, before field formatters run.

  1. Twig
    {{ node.field_name.value }}

Reads the content render array, after field formatters run.

  1. Twig
    {{ content.field_name }}

Gotcha

Raw .value returns the stored key; the render array shows the allowed-value label.