You are here

function hosting_signup_menu in Hosting 7.3

Same name and namespace in other branches
  1. 5 signup/hosting_signup.module \hosting_signup_menu()
  2. 6.2 signup/hosting_signup.module \hosting_signup_menu()
  3. 7.4 signup/hosting_signup.module \hosting_signup_menu()

Implements hook_menu().

File

signup/hosting_signup.module, line 10
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;
}