{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends '@SonataBlock/Block/block_base.html.twig' %} {% block block %} {% if settings.format %}
{% if settings.title %}

{% if settings.icon %} {% endif %} {% if settings.translation_domain %} {{ settings.title|trans({}, settings.translation_domain) }} {% else %} {{ settings.title }} {% endif %}

{% endif %} {% sonata_template_box 'This is the gallery media block. Feel free to override it.' %}
{% endif %} {% endblock %} {% block element_indicator %}
  • {% endblock element_indicator %} {% block element_display %}
    {% media element.media, settings.format %}
    {% endblock element_display %}