function spaces_test_menu in Spaces 7.3
Same name and namespace in other branches
- 6.3 tests/spaces_test.module \spaces_test_menu()
- 7 tests/spaces_test.module \spaces_test_menu()
Implements of hook_menu().
File
- tests/
spaces_test.module, line 19
Code
function spaces_test_menu() {
$items = array();
$items['features/features_test'] = array(
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'spaces_test_admin_form',
),
'access callback' => 'spaces_access_admin_perms',
'access arguments' => array(
array(
'administer site configuration',
),
),
'type' => MENU_NORMAL_ITEM,
);
return $items;
}