vendor/shopware/storefront/Resources/views/storefront/block/cms-block-image-four-column.html.twig line 1

Open in your IDE?
  1. {% block block_image_four_column %}
  2.     {% set columns = 4 %}
  3.     {# @deprecated tag:v6.5.0 - Use "element.id" directly instead. #}
  4.     {% set id = element.id %}
  5.     {% block block_image_four_column_left %}
  6.         {% set element = block.slots.getSlot('left') %}
  7.         <div class="col-md-3" data-cms-element-id="{{ element.id }}">
  8.             {% block block_image_four_column_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_image_four_column_center_left %}
  14.         {% set element = block.slots.getSlot('center-left') %}
  15.         <div class="col-md-3" data-cms-element-id="{{ element.id }}">
  16.             {% block block_image_four_column_center_left_inner %}
  17.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  18.             {% endblock %}
  19.         </div>
  20.     {% endblock %}
  21.     {% block block_image_four_column_center_right %}
  22.         {% set element = block.slots.getSlot('center-right') %}
  23.         <div class="col-md-3" data-cms-element-id="{{ element.id }}">
  24.             {% block block_image_four_column_center_right_inner %}
  25.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  26.             {% endblock %}
  27.         </div>
  28.     {% endblock %}
  29.     {% block block_image_four_column_right %}
  30.         {% set element = block.slots.getSlot('right') %}
  31.         <div class="col-md-3" data-cms-element-id="{{ element.id }}">
  32.             {% block block_image_four_column_right_inner %}
  33.                 {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  34.             {% endblock %}
  35.         </div>
  36.     {% endblock %}
  37. {% endblock %}