You are here

function image_hotspots_theme in Image Hotspots 8

Same name and namespace in other branches
  1. 7.2 image_hotspots.module \image_hotspots_theme()

Implements hook_theme().

File

./image_hotspots.module, line 13
Main functions of module.

Code

function image_hotspots_theme($existing, $type, $theme, $path) {
  return [
    'image_formatter_with_hotspots' => [
      'variables' => [
        'item' => NULL,
        'item_attributes' => NULL,
        'url' => NULL,
        'image_style' => NULL,
        'info' => NULL,
      ],
      'file' => 'image_hotspots.module',
    ],
  ];
}