function farm_ui_theme_element_info_alter in farmOS 2.x
Implements hook_element_info_alter().
File
- modules/
core/ ui/ theme/ farm_ui_theme.module, line 13 - The farmOS UI Theme module.
Code
function farm_ui_theme_element_info_alter(array &$info) {
if (isset($info['farm_map'])) {
$info['farm_map']['#attached']['library'][] = 'farm_ui_theme/map';
}
}