You are here

function juicebox_theme in Juicebox HTML5 Responsive Image Galleries 7

Same name and namespace in other branches
  1. 8.3 juicebox.module \juicebox_theme()
  2. 8.2 juicebox.module \juicebox_theme()
  3. 7.2 juicebox.module \juicebox_theme()

Implements hook_theme().

File

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

Code

function juicebox_theme() {
  return array(
    // Theme hook to generate embed markup for a Juicebox gallery.
    'juicebox_embed_markup' => array(
      'variables' => array(
        'gallery_id' => '',
        'gallery_xml_path' => '',
        'settings' => array(),
        'data' => array(),
      ),
      'path' => drupal_get_path('module', 'juicebox') . '/themes',
      'file' => 'juicebox.theme.inc',
    ),
  );
}