You are here

function image_field_caption_theme in Image Field Caption 7

Same name and namespace in other branches
  1. 8 image_field_caption.module \image_field_caption_theme()
  2. 7.2 image_field_caption.module \image_field_caption_theme()

Implements hook_theme().

File

./image_field_caption.module, line 324
Provides a caption textarea for image fields.

Code

function image_field_caption_theme($existing, $type, $theme, $path) {
  return array(
    'image_field_caption' => array(
      'template' => 'image_field_caption',
      'variables' => array(
        'image' => NULL,
        'caption' => NULL,
      ),
    ),
  );
}