function spaces_ui_menu in Spaces 5
Same name and namespace in other branches
- 5.2 spaces_ui.module \spaces_ui_menu()
Implementation of hook_menu().
File
- ./
spaces_ui.module, line 6
Code
function spaces_ui_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/build/context/feature',
'title' => t('Add Spaces Feature'),
'description' => t('Add a new feature.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'context_ui_form',
'add',
),
'access' => user_access('administer group features'),
'type' => MENU_LOCAL_TASK,
'weight' => 5,
);
}
return $items;
}