function farm_ui_theme_preprocess_block in farmOS 2.x
Implements hook_preprocess_HOOK().
File
- modules/
core/ ui/ theme/ farm_ui_theme.module, line 22 - The farmOS UI Theme module.
Code
function farm_ui_theme_preprocess_block(&$variables) {
if ($variables['plugin_id'] == 'help_block') {
$variables['#attached']['library'][] = 'farm_ui_theme/help';
}
}