You are here

features-items.html.twig in Features 8.4

Same filename and directory in other branches
  1. 8.3 modules/features_ui/templates/features-items.html.twig
{#
/**
 * 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
  1. {#
  2. /**
  3. * Specific variables:
  4. * - items: an array of components with class, name, and label string properties.
  5. */
  6. #}
  7. <span class="features-item-list">
  8. {% for item in items %}
  9. {% set class = item.class ? 'features-item ' ~ item.class : 'features-item' %}
  10. <span class="{{ class }}" title="{{ item.name }}">{{ item.label }}</span>
  11. {% endfor %}
  12. </span>