You are here

function image_formatter_link_to_image_style_theme in Image formatter link to image style 8

Implements hook_theme().

File

./image_formatter_link_to_image_style.module, line 12
Provides an additional formatter for image core field, to link to an image style.

Code

function image_formatter_link_to_image_style_theme() {
  return array(
    'image_formatter_link_to_image_style_formatter' => array(
      'variables' => array(
        'item' => NULL,
        'item_attributes' => NULL,
        'url' => NULL,
        'url_attributes' => NULL,
        'image_style' => NULL,
      ),
      'file' => 'image_formatter_link_to_image_style.field.inc',
    ),
  );
}