function micon_library_info_alter in Micon 2.x
Same name and namespace in other branches
- 8 micon.module \micon_library_info_alter()
Implements hook_library_info_alter().
Adds Micon stylesheets to the micon library.
File
- ./
micon.module, line 98 - Contains micon.module.
Code
function micon_library_info_alter(&$libraries, $extension) {
if ($extension === 'micon') {
foreach (Micon::loadActive() as $micon) {
$libraries['micon']['dependencies'][] = 'micon/micon.' . $micon
->id();
}
}
}