function fontawesome_iconpicker_libraries_info in Font Awesome Iconpicker 8
Same name and namespace in other branches
- 7 fontawesome_iconpicker.module \fontawesome_iconpicker_libraries_info()
Implements hook_libraries_info().
File
- ./
fontawesome_iconpicker.module, line 50 - Contains fontawesome_iconpicker.module.
Code
function fontawesome_iconpicker_libraries_info() {
$libraries[FONTAWESOME_ICONPICKER_LIBRARY] = array(
'name' => FONTAWESOME_ICONPICKER_NAME,
'vendor url' => FONTAWESOME_ICONPICKER_URL,
'download url' => FONTAWESOME_ICONPICKER_DOWNLOAD_URL,
'version callback' => 'fontawesome_iconpicker_get_version',
'version arguments' => array(
'file' => 'package.json',
),
'files' => array(
'css' => array(
'dist/css/fontawesome-iconpicker.css',
),
'js' => array(
'dist/js/fontawesome-iconpicker.js',
),
),
'dependencies' => array(
'fontawesome-iconpicker',
),
'variants' => array(
'minified' => array(
'files' => array(
'css' => array(
'dist/css/fontawesome-iconpicker.min.css',
),
'js' => array(
'dist/js/fontawesome-iconpicker.min.js',
),
),
),
),
);
return $libraries;
}