function olivero_preprocess_form_element_label

Implements hook_preprocess_HOOK().

File

core/themes/olivero/olivero.theme, line 272

Code

function olivero_preprocess_form_element_label(&$variables) {
  $variables['attributes']['class'][] = 'form-item__label';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.