function OliveroHooks::formViewsExposedFormAlter
Same name and namespace in other branches
- main core/themes/olivero/src/Hook/OliveroHooks.php \Drupal\olivero\Hook\OliveroHooks::formViewsExposedFormAlter()
Implements hook_form_FORM_ID_alter() for views_exposed_form.
Attributes
#[Hook('form_views_exposed_form_alter')]
File
-
core/
themes/ olivero/ src/ Hook/ OliveroHooks.php, line 624
Class
- OliveroHooks
- Hook implementations for olivero.
Namespace
Drupal\olivero\HookCode
public function formViewsExposedFormAlter(&$form) : void {
$form['#attributes']['class'][] = 'form--inline';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.