You are here

function imagezoom_gallery_theme in Image Zoom 8.2

Same name and namespace in other branches
  1. 7.2 modules/imagezoom_gallery/imagezoom_gallery.module \imagezoom_gallery_theme()

Implements hook_theme().

File

modules/imagezoom_gallery/imagezoom_gallery.module, line 13
Provides a gallery formatter for the Image Zoom module.

Code

function imagezoom_gallery_theme($existing, $type, $theme, $path) {
  return [
    'imagezoom_gallery' => [
      'variables' => [
        'items' => NULL,
        'display_style' => NULL,
        'zoom_style' => NULL,
        'thumb_style' => NULL,
        'settings' => NULL,
        'image' => NULL,
        'thumbs' => NULL,
      ],
      'template' => 'imagezoom-gallery',
    ],
    'imagezoom_thumb' => [
      'variables' => [
        'item' => NULL,
        'display_style' => NULL,
        'zoom_style' => NULL,
        'thumb_style' => NULL,
        'settings' => NULL,
      ],
      'template' => 'imagezoom-thumb',
    ],
  ];
}