function claro_preprocess_textarea in Drupal 8
Implements template_preprocess_HOOK() for textarea.
File
- core/
themes/ claro/ claro.theme, line 722 - Functions to support theming in the Claro theme.
Code
function claro_preprocess_textarea(&$variables) {
$variables['attributes']['class'][] = 'form-element';
$variables['attributes']['class'][] = 'form-element--type-textarea';
$variables['attributes']['class'][] = 'form-element--api-textarea';
}