You are here

function hosting_alias_menu in Hosting 5

Same name and namespace in other branches
  1. 6.2 alias/hosting_alias.module \hosting_alias_menu()
  2. 7.4 alias/hosting_alias.module \hosting_alias_menu()
  3. 7.3 alias/hosting_alias.module \hosting_alias_menu()

Implementation of hook_menu

File

alias/hosting_alias.module, line 9

Code

function hosting_alias_menu($may_cache) {
  $items[] = array(
    'path' => 'admin/hosting/aliases',
    'title' => t('Site aliases'),
    'description' => t('Configure aliases for hosted sites'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'hosting_alias_settings',
    ),
    'access' => user_access('administer hosting aliases'),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}