features-items.html.twig in Features 8.4
{#
/**
* Specific variables:
* - items: an array of components with class, name, and label string properties.
*/
#}
<span class="features-item-list">
{% for item in items %}
{% set class = item.class ? 'features-item ' ~ item.class : 'features-item' %}
<span class="{{ class }}" title="{{ item.name }}">{{ item.label }}</span>
{% endfor %}
</span>
File
modules/features_ui/templates/features-items.html.twig
View source
- {#
- /**
- * Specific variables:
- * - items: an array of components with class, name, and label string properties.
- */
- #}
- <span class="features-item-list">
- {% for item in items %}
- {% set class = item.class ? 'features-item ' ~ item.class : 'features-item' %}
- <span class="{{ class }}" title="{{ item.name }}">{{ item.label }}</span>
- {% endfor %}
- </span>