Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

input--submit--header-search.html.twig

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

template_preprocess_input()

File

core/themes/olivero/templates/form/input--submit--header-search.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override for the search form submit button.
  5. *
  6. * Available variables:
  7. * - attributes: A list of HTML attributes for the input element.
  8. * - children: Optional additional rendered elements.
  9. *
  10. * @see template_preprocess_input()
  11. */
  12. #}
  13. <button{{ attributes }}>
  14. <span class="icon--search"></span>
  15. <span class="visually-hidden">{{ attributes.value }}</span>
  16. </button>
  17. {{ children }}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal