function hosting_alias_menu in Hostmaster (Aegir) 6
Implementation of hook_menu().
File
- modules/
hosting/ alias/ hosting_alias.module, line 22 - Allow sites to have domain aliases that they can be accessed with.
Code
function hosting_alias_menu() {
$items['admin/hosting/aliases'] = array(
'title' => 'Site aliases',
'description' => 'Configure aliases for hosted sites',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'hosting_alias_settings',
),
'access arguments' => array(
'administer hosting aliases',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}