function hosting_signup_menu in Hostmaster (Aegir) 6
Implementation of hook_menu
File
- modules/
hosting/ signup/ hosting_signup.module, line 9 - Provides a signup form that can be run on remote sites
Code
function hosting_signup_menu() {
$items['hosting/signup'] = array(
'title' => 'Sign up for a site',
'description' => 'Create your own hosted site',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'hosting_signup_form',
),
'access arguments' => array(
'access hosting signup form',
),
);
$items['hosting/signup/thanks'] = array(
'page callback' => 'hosting_signup_thanks',
'type' => MENU_CALLBACK,
'access arguments' => array(
'access hosting signup form',
),
);
return $items;
}