You are here

function image_hover_effects_theme in Image Hover Effects 8

Implements hook_theme().

File

./image_hover_effects.module, line 13
Primary module hooks for Image Hover Effects module.

Code

function image_hover_effects_theme($existing, $type, $theme, $path) {
  return [
    'image_hover_effects_image_formatter' => [
      'variables' => [
        'item' => NULL,
        'item_attributes' => NULL,
        'url' => NULL,
        'image_style' => NULL,
        'link_attributes' => NULL,
      ],
    ],
    'image_hover_effects_responsive_image_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'item_attributes' => NULL,
        'url' => NULL,
        'responsive_image_style_id' => NULL,
        'link_attributes' => NULL,
      ),
    ),
  ];
}