You are here

function _juicebox_library_info in Juicebox HTML5 Responsive Image Galleries 7

Libraries API Info Callback

Add baseline variables to a Juicebox library array that are not version specific but should always be defined. These values are generic to all Juicebox libraries and may be referenced even when the local library info cannot be loaded or is not used.

See also

juicebox_libraries_info().

1 call to _juicebox_library_info()
_juicebox_library_detect in ./juicebox.module
Get/detect the details of a Juicebox javascript library without loading it.
1 string reference to '_juicebox_library_info'
juicebox_libraries_info in ./juicebox.module
Implements hook_libraries_info().

File

./juicebox.module, line 406
Provides Drupal integration with the Juicebox library.

Code

function _juicebox_library_info(&$library) {
  $library['disallowed_conf'] = array();
  $library['compatible_mimetypes'] = array(
    'image/gif',
    'image/jpeg',
    'image/png',
  );
}