function juicebox_theme in Juicebox HTML5 Responsive Image Galleries 7.2
Same name and namespace in other branches
- 8.3 juicebox.module \juicebox_theme()
- 8.2 juicebox.module \juicebox_theme()
- 7 juicebox.module \juicebox_theme()
Implements hook_theme().
File
- ./
juicebox.module, line 49 - Provides Drupal integration with the Juicebox library. This file contains the relevant Drupal hook implementations and callbacks.
Code
function juicebox_theme() {
return array(
// Theme hook to generate embed markup for a Juicebox gallery.
'juicebox_embed_markup' => array(
'variables' => array(
'gallery_id' => NULL,
'gallery_images' => array(),
'gallery_options' => array(),
'settings' => array(),
'c_links' => array(),
),
'path' => drupal_get_path('module', 'juicebox') . '/themes',
'file' => 'juicebox.theme.inc',
),
// Theme hook to generate info/debug information for a Juicebox gallery.
'juicebox_debug_markup' => array(
'variables' => array(
'gallery_id' => NULL,
'gallery_images' => array(),
'gallery_options' => array(),
'settings' => array(),
'xml' => array(),
'c_links' => array(),
),
'path' => drupal_get_path('module', 'juicebox') . '/themes',
'file' => 'juicebox.theme.inc',
),
);
}