You are here

function autoupload_menu in AutoUpload 7

Implements hook_menu().

File

./autoupload.module, line 11
Allows users to upload files without clicking the upload button

Code

function autoupload_menu() {
  $items['admin/config/media/autoupload'] = array(
    'title' => 'Auto Upload settings',
    'description' => 'Configure the file fields which should use Auto Upload',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'autoupload_admin_form',
    ),
    'access arguments' => array(
      'administer autoupload',
    ),
    'file' => 'autoupload.admin.inc',
    'weight' => 20,
  );
  return $items;
}