function hosting_signup_menu in Hosting 6.2
Same name and namespace in other branches
- 5 signup/hosting_signup.module \hosting_signup_menu()
- 7.4 signup/hosting_signup.module \hosting_signup_menu()
- 7.3 signup/hosting_signup.module \hosting_signup_menu()
Implementation of hook_menu
File
- 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;
}