function spaces_menu in Spaces 6.3
Same name and namespace in other branches
- 5.2 spaces.module \spaces_menu()
- 5 spaces.module \spaces_menu()
- 6 spaces.module \spaces_menu()
- 6.2 spaces.module \spaces_menu()
- 7.3 spaces.module \spaces_menu()
- 7 spaces.module \spaces_menu()
Implementation of hook_menu().
File
- ./
spaces.module, line 563
Code
function spaces_menu() {
$items = array();
$items['spaces-access-denied'] = array(
'access callback' => FALSE,
'type' => MENU_CALLBACK,
);
$items['spaces-frontpage'] = array(
'page callback' => 'spaces_frontpage',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['features'] = array(
'title' => 'Features',
'description' => 'Configure features for this space.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'spaces_features_form',
),
'access callback' => 'spaces_access_admin',
'access arguments' => array(),
'type' => MENU_NORMAL_ITEM,
'file' => 'spaces.admin.inc',
);
return $items;
}