custom/static-plugins/relewise-search/src/Resources/views/storefront/layout/header/header.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
  2. {% set config = config('WexoRelewiseSearch').config %}
  3. {% set fullPageConstant = constant('Wexo\\RelewiseSearch\\Service\\ConfigService::SEARCH_FULL_PAGE_ENABLED') %}
  4. {% block layout_header_search %}
  5.     {% if config[fullPageConstant] %}
  6.         <div class="col-12 order-2 col-sm order-sm-1 header-search-col">
  7.             <div class="row">
  8.                 <div class="col-sm-auto d-none d-sm-block d-lg-none">
  9.                     {{ block('layout_header_navigation_toggle_tablet') }}
  10.                 </div>
  11.                 <div class="header-search-container">
  12.                     {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  13.                 </div>
  14.             </div>
  15.         </div>
  16.     {% else %}
  17.         {{ parent() }}
  18.     {% endif %}
  19. {% endblock %}