You are here

function image_fupload_image_menu in Image FUpload 6.3

Same name and namespace in other branches
  1. 6 image_fupload_image/image_fupload_image.module \image_fupload_image_menu()
  2. 6.2 image_fupload_image/image_fupload_image.module \image_fupload_image_menu()

Implementation of hook_menu().

File

image_fupload_image/image_fupload_image.module, line 6

Code

function image_fupload_image_menu() {
  $items['admin/settings/image/image_fupload'] = array(
    'title' => 'Image FUpload Settings',
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'image_fupload_image_admin',
    ),
    'description' => 'Configure FUpload Settings',
    'type' => MENU_LOCAL_TASK,
    'file' => 'image_fupload_image.admin.inc',
  );
  $items['fupload/js/image'] = array(
    'title' => 'Image FUpload',
    'page callback' => 'image_fupload_image_node_create',
    'access arguments' => array(
      'mass upload images',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'node.pages.inc',
    'file path' => drupal_get_path('module', 'node'),
  );
  return $items;
}