function image_popup_theme in Simple Image Popup 2.x
Same name and namespace in other branches
- 8 image_popup.module \image_popup_theme()
Implements hook_theme().
File
- ./
image_popup.module, line 25
Code
function image_popup_theme($existing, $type, $theme, $path) {
return [
'image_popup_details' => [
'variables' => [
'url_popup' => NULL,
],
'path' => $path . '/templates',
'template' => 'image-popup-formatter',
],
];
}