You are here

function image_field_caption_menu in Image Field Caption 7

Implements hook_menu().

File

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

Code

function image_field_caption_menu() {
  $items = array();
  $items['admin/config/media/image-field-caption'] = array(
    'title' => t('Image Field Caption'),
    'description' => t('Configuration settings for Image Field Caption.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'image_field_caption_settings',
    ),
    'access arguments' => array(
      'administer image field caption',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}