function lang_dropdown_library in Language Switcher Dropdown 7
Same name and namespace in other branches
- 7.2 lang_dropdown.module \lang_dropdown_library()
Implements hook_library().
File
- ./
lang_dropdown.module, line 638
Code
function lang_dropdown_library() {
$chosen_library_path = module_exists('libraries') ? libraries_get_path('chosen') : 'sites/all/libraries/chosen';
$info['chosen'] = array(
'title' => 'Chosen',
'website' => CHOSEN_WEB_URL,
'version' => '1.0.0',
'js' => array(
$chosen_library_path . '/chosen.jquery.min.js' => array(
'group' => 'JS_LIBRARY',
),
),
);
$info['chosen']['css'] = array(
$chosen_library_path . '/chosen.css' => array(),
);
return $info;
}