vendor/shopware/storefront/Resources/views/storefront/layout/cookie/cookie-configuration-group.html.twig line 1

Open in your IDE?
  1. {% block cookie_configuration_group %}
  2.     {% if cookieGroup.cookie is defined or cookieGroup.entries is defined %}
  3.         <div class="offcanvas-cookie-group">
  4.             {% sw_include '@Storefront/storefront/layout/cookie/cookie-configuration-parent.html.twig' with {
  5.                 parent: cookieGroup
  6.             } only %}
  7.             {% if cookieGroup.entries is not empty or cookieGroup.snippet_description is defined %}
  8.                 <div class="offcanvas-cookie-entries">
  9.                     {% sw_icon 'arrow-head-right' style {
  10.                         'size': 'sm'
  11.                     } %}
  12.                     {% if cookieGroup.snippet_description %}
  13.                         <p>{{ cookieGroup.snippet_description|trans|sw_sanitize }}</p>
  14.                     {% endif %}
  15.                     {% for entry in cookieGroup.entries %}
  16.                         {% sw_include '@Storefront/storefront/layout/cookie/cookie-configuration-child.html.twig' with {
  17.                             child: entry, isRequired: cookieGroup.isRequired
  18.                         } only %}
  19.                     {% endfor %}
  20.                 </div>
  21.             {% endif %}
  22.         </div>
  23.     {% endif %}
  24. {% endblock %}