You are here

function plupload_menu in Plupload integration 7.2

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

Implements hook_menu().

File

./plupload.module, line 11
Implementation of plupload.module.

Code

function plupload_menu() {
  $items['plupload-handle-uploads'] = array(
    'title' => 'Handles uploads',
    'page callback' => 'plupload_handle_uploads',
    'type' => MENU_CALLBACK,
    'access callback' => 'plupload_upload_access',
    'access arguments' => array(
      'access content',
    ),
  );
  $items['plupload-test'] = array(
    'title' => 'Test Plupload',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'plupload_test',
    ),
    // @todo: change this to something appropriate, not sure what.
    'access arguments' => array(
      'Administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}