vendor/shopware/storefront/Resources/views/storefront/block/cms-block-center-text.html.twig line 1

Open in your IDE?
  1. {% block block_center_text %}
  2.     {% set columns = 3 %}
  3.     {# @deprecated tag:v6.5.0 - Use "element.id" directly instead. #}
  4.     {% set id = element.id %}
  5.     {% block block_center_text_left %}
  6.         {% set element = block.slots.getSlot('left') %}
  7.         <div class="col-md-4" data-cms-element-id="{{ element.id }}">
  8.             {% block block_center_text_left_inner %}
  9.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  10.             {% endblock %}
  11.         </div>
  12.     {% endblock %}
  13.     {% block block_center_text_center %}
  14.         {% set element = block.slots.getSlot('center') %}
  15.         <div class="col-md-4" data-cms-element-id="{{ element.id }}">
  16.             {% block block_center_text_center_inner %}
  17.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  18.             {% endblock %}
  19.         </div>
  20.     {% endblock %}
  21.     {% block block_center_text_right %}
  22.         {% set element = block.slots.getSlot('right') %}
  23.         <div class="col-md-4" data-cms-element-id="{{ element.id }}">
  24.             {% block block_center_text_right_inner %}
  25.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  26.             {% endblock %}
  27.         </div>
  28.     {% endblock %}
  29. {% endblock %}