You are here

function mimedetect_menu in MimeDetect 7

Same name and namespace in other branches
  1. 5 mimedetect.module \mimedetect_menu()
  2. 6 mimedetect.module \mimedetect_menu()

Implements hook_menu().

File

./mimedetect.module, line 11
Provide server side mime type detection.

Code

function mimedetect_menu() {
  $items = array();

  // The admin settings form.
  $items['admin/config/media/mimedetect'] = array(
    'title' => 'Mime type detection',
    'description' => 'Control how the mime type of uploaded files will be determined.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mimedetect_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'mimedetect.admin.inc',
  );
  return $items;
}