input--submit--header-search.html.twig
Same filename in other branches
Theme override for the search form submit button.
Available variables:
- attributes: A list of HTML attributes for the input element.
- children: Optional additional rendered elements.
See also
File
-
core/
themes/ olivero/ templates/ form/ input--submit--header-search.html.twig
View source
- {#
- /**
- * @file
- * Theme override for the search form submit button.
- *
- * Available variables:
- * - attributes: A list of HTML attributes for the input element.
- * - children: Optional additional rendered elements.
- *
- * @see template_preprocess_input()
- */
- #}
- <button{{ attributes }}>
- <span class="icon--search"></span>
- <span class="visually-hidden">{{ attributes.value }}</span>
- </button>
- {{ children }}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.