You are here

function getid3_menu in getID3() 5

Same name and namespace in other branches
  1. 6 getid3.module \getid3_menu()
  2. 7.2 getid3.module \getid3_menu()
  3. 7 getid3.module \getid3_menu()

Implementation of hook_menu()

File

./getid3.module, line 92

Code

function getid3_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/getid3',
      'title' => t('getID3()'),
      'description' => t('Configure settings associated with getID3().'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'getid3_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}