custom/plugins/MoorlFoundation/src/Resources/views/storefront/block/cms-block-moorl-column-layout.html.twig line 1

Open in your IDE?
  1. <div class="col">
  2.     <div class="moorl-column-layout">
  3.         {% for letter in 'a'..'z' %}
  4.             {% set element = block.slots.getSlot("slot-#{letter}") %}
  5.             {% if element %}
  6.                 {% set moorlAnimation = element.config.moorlAnimation.value %}
  7.                 {% if moorlAnimation %}
  8.                     {% if moorlAnimation.in.active or moorlAnimation.out.active or moorlAnimation.hover.active %}
  9.                         <div data-moorl-animation='{{ moorlAnimation|json_encode|raw }}'>
  10.                             {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  11.                         </div>
  12.                     {% else %}
  13.                         {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  14.                     {% endif %}
  15.                 {% else %}
  16.                     {% sw_include "@Storefront/storefront/element/cms-element-" ~ element.type ~ ".html.twig" ignore missing %}
  17.                 {% endif %}
  18.             {% endif %}
  19.         {% endfor %}
  20.     </div>
  21. </div>