function spaces_og_menu in Spaces 6
Same name and namespace in other branches
- 5.2 spaces_og.module \spaces_og_menu()
- 6.3 spaces_og/spaces_og.module \spaces_og_menu()
- 6.2 spaces_og/spaces_og.module \spaces_og_menu()
- 7.3 spaces_og/spaces_og.module \spaces_og_menu()
- 7 spaces_og/spaces_og.module \spaces_og_menu()
Implementation of hook_menu().
File
- spaces_og/
spaces_og.module, line 509
Code
function spaces_og_menu() {
$items = array();
$items["og/users/%node/ucreate"] = array(
'title' => t('Add new account'),
'page callback' => 'spaces_og_ucreate',
'page arguments' => array(
2,
),
'type' => MENU_LOCAL_TASK,
'access callback' => 'spaces_admin_access',
'access arguments' => array(
'og',
),
'weight' => 1,
);
$items["node/%node/spaces"] = array(
'title' => t('Spaces'),
'page callback' => 'spaces_features_page',
'page arguments' => array(),
'access callback' => '_spaces_og_admin_access',
'access arguments' => array(
1,
'og',
'features',
),
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
$items["node/%node/spaces/features"] = array(
'type' => MENU_DEFAULT_LOCAL_TASK,
);
return $items;
}