function olivero_preprocess_textarea

Same name and namespace in other branches
  1. 10 core/themes/olivero/olivero.theme \olivero_preprocess_textarea()
  2. 11.x core/themes/olivero/olivero.theme \olivero_preprocess_textarea()

Implements hook_preprocess_HOOK().

File

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

Code

function olivero_preprocess_textarea(&$variables) {
    $variables['attributes']['class'][] = 'form-element';
    $variables['attributes']['class'][] = 'form-element--type-textarea';
    $variables['attributes']['class'][] = 'form-element--api-textarea';
}

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