You are here

function imagecache_external_theme in Imagecache External 8

Same name and namespace in other branches
  1. 7.2 imagecache_external.module \imagecache_external_theme()
  2. 7 imagecache_external.module \imagecache_external_theme()

Implements hook_theme().

File

./imagecache_external.module, line 16
Allows the usage of Image Styles on external images.

Code

function imagecache_external_theme() {
  return [
    'imagecache_external' => [
      'variables' => [
        'style_name' => NULL,
        'uri' => NULL,
        'alt' => '',
        'title' => NULL,
        'width' => NULL,
        'height' => NULL,
        'attributes' => [],
      ],
    ],
    'imagecache_external_responsive' => [
      'variables' => [
        'responsive_image_style_id' => NULL,
        'uri' => NULL,
        'alt' => '',
        'title' => NULL,
        'width' => NULL,
        'height' => NULL,
        'attributes' => [],
      ],
    ],
  ];
}