function template_preprocess_image_formatter_with_hotspots in Image Hotspots 8
Prepares variables for image formatter with hotspots templates.
Default template: image-formatter-with-hotspots.html.twig.
See also
template_preprocess_image_formatter
File
- ./
image_hotspots.module, line 35 - Main functions of module.
Code
function template_preprocess_image_formatter_with_hotspots(&$variables) {
// Add field.inc file.
module_load_include('inc', 'image', 'image.field');
template_preprocess_image_formatter($variables);
}