You are here

function image_field_caption_help in Image Field Caption 7

Implements hook_help().

File

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

Code

function image_field_caption_help($path, $arg) {
  switch ($path) {
    case 'admin/help#image_field_caption':
      $readme_url = drupal_get_path('module', 'image_field_caption') . '/README.txt';
      $items = array(
        l('README', $readme_url),
        l('Project Homepage', 'http://www.tylerfrankenstein.com/image_field_caption'),
      );
      return theme('item_list', array(
        'items' => $items,
      ));
      break;
  }
}