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