You are here

function video_image_menu in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_image/video_image.module \video_image_menu()
  2. 6.2 plugins/video_image/video_image.module \video_image_menu()

Implementation of hook_menu()

File

plugins/video_image/video_image.module, line 25
Enable image support for video module.

Code

function video_image_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/video/image',
      'title' => t('Video image'),
      'description' => t('Administer video_image module settings'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'video_image_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}