{% sw_extends '@Storefront/storefront/layout/header/actions/language-widget.html.twig' %} {# ---------------- START: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Set theme variables #} {% set twtHeaderType = theme_config('twt-header-type') %} {% set twtHeaderTopBarJustifyContent = theme_config('twt-header-top-bar-justify-content') %} {# ---------------- END: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Changes on the language-menu-dropdown #} {# TODO: - Default-Konfiguration ergänzen... - Check if this can be solved with scss... #} {% block layout_header_actions_languages_widget_form_items %} {% if twtHeaderType == 4 or twtHeaderTopBarJustifyContent == 'flex-start' %} {% else %} {# Default block #} {{ parent() }} {% endif %} {% endblock %}