Skip to content
Twig Field Finder
Theme

This is a property of the entity itself, so there’s no field name to fill in.

Reads the entity directly, before field formatters run.

  1. Twig
    {{ node.body.value }}

Reads the content render array, after field formatters run.

  1. Twig
    {{ content.body }}

Uses a contrib module’s Twig filter or function.

  1. {{ content.body|field_value }}

Gotcha

Raw .value outputs unfiltered, escaped markup. Prefer content.body so text formats and cache metadata apply.

Contrib modules used

See helper modules for what each one provides.