Term — parent term
Open in builderThis is a property of the entity itself, so there’s no field name to fill in.
Raw entity
Open in builder (Raw entity)Reads the entity directly, before field formatters run. Only works in taxonomy-term.html.twig.
- Snippet 1
{{ term.parent. entity. label( ) }} - Snippet 2
{{ term.parent. target_id }}
Gotcha
Top-level terms have parent 0 and no parent entity.