Skip to content
Twig Field Finder
Theme

Paragraph — parent field name

Open in builder

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. Only works in paragraph.html.twig.

  1. Snippet 1
    {{ paragraph.parent_field_name.value }}
  2. Snippet 2
    {{ paragraph.parent_type.value }}

Gotcha

The field and entity type the paragraph is attached to.