You are here

function plupload_menu in Plupload integration 6

Same name and namespace in other branches
  1. 7.2 plupload.module \plupload_menu()
  2. 7 plupload.module \plupload_menu()

Implementation of hook_menu().

File

./plupload.module, line 20

Code

function plupload_menu() {
  $items['plupload-pernode'] = array(
    'title' => 'Upload files',
    'page callback' => 'plupload_pernode',
    'access callback' => 'user_access',
    'access arguments' => array(
      'bulk upload files with plupload',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['file-plupload'] = array(
    'title' => 'Upload files',
    'page callback' => 'plupload_upload_page',
    'access callback' => 'user_access',
    'access arguments' => array(
      'bulk upload files with plupload',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/plupload-bulk'] = array(
    'title' => 'Plupload integration settings',
    'description' => 'Configure the Plupload integration module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'plupload_admin_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer plupload bulk uploads',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}