You are here

function juicebox_library_add_info in Juicebox HTML5 Responsive Image Galleries 8.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 string reference to 'juicebox_library_add_info'
juicebox_libraries_info in ./juicebox.module
Implements hook_libraries_info().

File

./juicebox.module, line 116
Module file for Juicebox.

Code

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