Same name and namespace in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/umami.theme \umami_form_search_block_form_alter()
- 9 core/profiles/demo_umami/themes/umami/umami.theme \umami_form_search_block_form_alter()
Implements hook_form_FORM_ID_alter().
File
- core/
profiles/ demo_umami/ themes/ umami/ umami.theme, line 131 - Functions to support theming in the Umami theme.
Code
function umami_form_search_block_form_alter(&$form, FormStateInterface $form_state) {
$form['keys']['#attributes']['placeholder'] = t('Search by keyword, ingredient, dish');
}