{# @var icon \EasyCorp\Bundle\EasyAdminBundle\Dto\IconDto #} {% set icon = this.getIcon() %} {% if icon.isFontAwesomeIconSet %} {% elseif icon.svgContents %} {{ icon.svgContents|raw }} {% else %} {% guard function ux_icon %} {{ ux_icon(icon.name, attributes.all) }} {% endguard %} {% endif %}