app/Resources/views/includes/language.html.twig line 1

Open in your IDE?
  1. <li class="nav-item dropdown">
  2.     <a class="dropdown-toggle py-2 d-none d-md-inline-block menu-icon ml-4" data-toggle="dropdown" href="#">
  3.         <img src="/static/images/icons/language.svg" />
  4.     </a>
  5.     <ul class="dropdown-menu">
  6.         <span class="dropdown-menu-arrow search arrow"></span>
  7.         {% for key, lang in get_localized_links(document) %}
  8.             <li>
  9.                 <a class="dropdown-item" href="{{ lang.link }}">
  10.                     <img class="language-switcher-img" src="{{ get_language_flag(key) }}" height="20" width="25">
  11.                     {{ lang.text }}</a>
  12.             </li>
  13.         {% endfor %}
  14.     </ul>
  15. </li>