You are here

function filemime_menu in File MIME 6

Same name and namespace in other branches
  1. 7 filemime.module \filemime_menu()

Implementation of hook_menu().

File

./filemime.module, line 11
Rewrite the MIME type for each file upload based on a server-side mime.types file and/or custom settings.

Code

function filemime_menu() {
  $items['admin/settings/filemime'] = array(
    'title' => 'File MIME',
    'description' => 'Configure the MIME extension mapping for uploaded files.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'filemime_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'filemime.admin.inc',
  );
  return $items;
}