function imagezoom_theme in Image Zoom 7.2
Same name and namespace in other branches
- 8.3 imagezoom.module \imagezoom_theme()
- 8.2 imagezoom.module \imagezoom_theme()
- 7 imagezoom.module \imagezoom_theme()
Implements hook_theme().
File
- ./
imagezoom.module, line 220 - Provides an Image Zoom field formatter for Image fields.
Code
function imagezoom_theme($existing, $type, $theme, $path) {
return array(
'imagezoom_image' => array(
'variables' => array(
'item' => NULL,
'display_style' => NULL,
'zoom_style' => NULL,
'settings' => NULL,
),
'template' => 'imagezoom_image',
'path' => $path . '/theme',
),
);
}