You are here

function dragndrop_upload_menu in Drag & Drop Upload 7

Implements hook_menu().

File

./dragndrop_upload.module, line 11
Provides API for drag & drop upload features.

Code

function dragndrop_upload_menu() {
  $items['system/dragndrop/%'] = array(
    'page callback' => 'dragndrop_upload_callback',
    'page arguments' => array(
      2,
    ),
    'access arguments' => TRUE,
    'delivery callback' => 'ajax_deliver',
    'theme callback' => 'ajax_base_page_theme',
    'type' => MENU_CALLBACK,
  );
  return $items;
}