Multi-value paragraphs — inside field template loop
Fill in your field nameItalic values are placeholders: replace them with your own machine names, or let the builder do it.
Raw entity
Open in builder (Raw entity)Reads the entity directly, before field formatters run.
- Snippet 1
{% for item in items %} {{ item.content['#paragraph']. field_name. value }} {% endfor %} - Snippet 2
{% for item in items %} {{ item.content['#paragraph']. get( 'field_name').entity .label( ) }} {% endfor %}
Gotcha
Use in field--paragraphs--*.html.twig where items is available. __FIELD__ is a field on the paragraph.