function farm_ui_theme_preprocess_field__flag in farmOS 2.x
Implements hook_preprocess_HOOK().
File
- modules/
core/ ui/ theme/ farm_ui_theme.module, line 56 - The farmOS UI Theme module.
Code
function farm_ui_theme_preprocess_field__flag(array &$variables) {
$variables['#attached']['library'][] = 'farm_ui_theme/flag';
}