You are here

function image_field_caption_token_info in Image Field Caption 7

Implements hook_token_info().

File

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

Code

function image_field_caption_token_info() {
  $info['tokens']['file']['caption'] = array(
    'name' => t('Image Field Caption'),
    'description' => t('The caption text for an Image Field.'),
  );
  return $info;
}