function javascript_libraries_custom_load in JavaScript Libraries Manager 7
API function - load one custom library by ID.
2 calls to javascript_libraries_custom_load()
- javascript_libraries_block_view_alter in ./
javascript_libraries.module - Implements hook_block_view_alter().
- javascript_libraries_custom_delete in ./
javascript_libraries.module - API function - delete one custom library by ID.
File
- ./
javascript_libraries.module, line 99 - Toggle the inclusion of Drupal system libraries. Upload and reference custom libraries as well.
Code
function javascript_libraries_custom_load($id) {
$custom = variable_get('javascript_libraries_custom_libraries', array());
if (isset($custom[$id])) {
return $custom[$id];
}
return FALSE;
}