function domain_user_menu in Domain Access 5
Same name and namespace in other branches
- 6.2 domain_user/domain_user.module \domain_user_menu()
Implement hook_menu()
File
- domain_user/
domain_user.module, line 32 - Creates unique subdomains for registered users.
Code
function domain_user_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'title' => t('User domains'),
'path' => 'admin/build/domain/user',
'type' => MENU_LOCAL_TASK,
'access' => user_access('administer domains'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'domain_user_configure_form',
),
);
}
return $items;
}