You are here

function hosting_site_menu in Hosting 5

Same name and namespace in other branches
  1. 6.2 site/hosting_site.module \hosting_site_menu()
  2. 7.4 site/hosting_site.module \hosting_site_menu()
  3. 7.3 site/hosting_site.module \hosting_site_menu()

File

site/hosting_site.module, line 690

Code

function hosting_site_menu($may_cache = false) {
  $items[] = array(
    'path' => 'hosting/sites',
    'title' => t('Hosted sites'),
    'description' => t('Display a list of sites'),
    'callback' => 'hosting_sites',
    'type' => MENU_CALLBACK,
    'access' => user_access('create site'),
  );
  $items[] = array(
    'path' => 'hosting/hosting_site_form_populate',
    'callback' => '_hosting_site_form_populate',
    'type' => MENU_CALLBACK,
    'access' => TRUE,
  );
  return $items;
}