function blazy_ui_library in Blazy 7
Implements hook_library().
File
- modules/
blazy_ui/ blazy_ui.module, line 56 - Provides the Blazy UI.
Code
function blazy_ui_library() {
$path = drupal_get_path('module', 'blazy_ui');
$info = system_get_info('module', 'blazy_ui');
$libraries['ui'] = [
'title' => 'Blazy UI',
'website' => 'http://drupal.org/project/blazy',
'version' => !empty($info['version']) ? $info['version'] : '7.x-1.x',
'js' => [
$path . '/js/blazy.admin.ui.min.js' => [
'group' => JS_DEFAULT,
'weight' => 3,
],
],
'css' => [
$path . '/css/blazy.admin--vertical-tabs.css' => [
'group' => CSS_THEME + 1,
],
],
'dependencies' => [
[
'system',
'jquery.once',
],
[
'blazy',
'admin',
],
],
];
return $libraries;
}