function party_user_menu in Party 8.2
Same name and namespace in other branches
- 7 modules/party_user/party_user.module \party_user_menu()
Implements hook_menu()
File
- modules/
party_user/ party_user.module, line 60 - Support for linking users to parties
Code
function party_user_menu() {
$items['admin/config/party/user'] = array(
'title' => 'User Integration',
'description' => 'Configure Party User Integration',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'party_user_settings_form',
),
'access arguments' => array(
'administer crm settings',
),
'file' => 'party_user.admin.inc',
);
$items['admin/config/party/user/settings'] = array(
'title' => 'User Integration',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'party_user_settings_form',
),
'access arguments' => array(
'administer crm settings',
),
'type' => MENU_DEFAULT_LOCAL_TASK,
'file' => 'party_user.admin.inc',
'weight' => -10,
);
$items['admin/config/party/user/sync'] = array(
'title' => 'Sync Users',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'party_user_sync_form',
),
'access arguments' => array(
'administer crm settings',
),
'type' => MENU_LOCAL_TASK,
'file' => 'party_user.admin.inc',
);
return $items;
}