ℹ Click on icon to copy path to clipboard.
{% if extraInfo is defined %}
{{ extraInfo }}
{% endif %}
{% for icon in icons %}
{% set iconPath = icon|replace({(webRoot): ''}) %}
{#
Any icon with basename that has a dash will be considered as a variant to avoid recurisvely searching for "parent" icon.
It happens that all icon that have variants have at least a prefix of 4-5 characters.
#}
{% if ('-' in iconPath and iconPath|basename|split('-')[0]|length > 3) and (type =='twemoji') %}
{{ icon | pimcore_twemoji_variant_icon | raw }}
{{ iconPath|basename }}
{% else %}
{% if type == 'flags' %}
{% set country = iconPath|basename|replace({'.svg': ''}) %}
{% endif %}
{% if loop.index < 100 %}
{{ icon | pimcore_inline_icon | raw }}
{% else %}
{{ icon | pimcore_lazy_icon | raw }}
{% endif %}
{{ iconPath in iconsCss ? '*' : '' }}
{{ iconPath|basename }}
{% endif %}
{% endfor %}