field--paragraph--field-featured-items.html.twig in Open Social 8.2
Same filename and directory in other branches
- 8 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
- 8.3 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
- 8.4 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
- 8.5 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
- 8.6 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
- 8.7 modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twig
{%
set classes = [
'field',
'field--name-' ~ field_name|clean_class,
'field--type-' ~ field_type|clean_class,
'field--label-' ~ label_display,
]
%}
<div{{ attributes.addClass(classes, 'field--items') }}>
{% for item in items %}
{{ item.content }}
{% endfor %}
</div>
File
modules/social_features/social_landing_page/templates/field--paragraph--field-featured-items.html.twigView source
- {%
- set classes = [
- 'field',
- 'field--name-' ~ field_name|clean_class,
- 'field--type-' ~ field_type|clean_class,
- 'field--label-' ~ label_display,
- ]
- %}
-
- <div{{ attributes.addClass(classes, 'field--items') }}>
- {% for item in items %}
- {{ item.content }}
- {% endfor %}
- </div>