You are here

function juicebox_library_info in Juicebox HTML5 Responsive Image Galleries 7.2

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 376
Provides Drupal integration with the Juicebox library. This file contains the relevant Drupal hook implementations and callbacks.

Code

function juicebox_library_info(&$library) {
  $library['disallowed_conf'] = array();
  $library['compatible_mimetypes'] = array(
    'image/gif',
    'image/jpeg',
    'image/png',
  );
  $library['base_languagelist'] = 'Show Thumbnails|Hide Thumbnails|Expand Gallery|Close Gallery|Open Image in New Window';
}