function imagezoom_gallery_theme in Image Zoom 7.2
Same name and namespace in other branches
- 8.2 modules/imagezoom_gallery/imagezoom_gallery.module \imagezoom_gallery_theme()
Implements hook_theme().
File
- modules/
imagezoom_gallery/ imagezoom_gallery.module, line 121 - Provides a gallery formatter for the Image Zoom module.
Code
function imagezoom_gallery_theme($existing, $type, $theme, $path) {
return array(
'imagezoom_gallery' => array(
'variables' => array(
'items' => NULL,
'display_style' => NULL,
'zoom_style' => NULL,
'thumb_style' => NULL,
'settings' => NULL,
'image' => NULL,
'thumbs' => NULL,
),
'template' => 'imagezoom_gallery',
'path' => $path . '/theme',
),
'imagezoom_thumb' => array(
'variables' => array(
'item' => NULL,
'display_style' => NULL,
'zoom_style' => NULL,
'settings' => NULL,
),
'template' => 'imagezoom_thumb',
'path' => $path . '/theme',
),
);
}