function redhen_dedupe_menu in RedHen CRM 7
Implements hook_menu().
File
- modules/
redhen_dedupe/ redhen_dedupe.module, line 6
Code
function redhen_dedupe_menu() {
$items['redhen/dedupe'] = array(
'title' => 'Find duplicate contacts',
'page callback' => 'redhen_dedupe_list_page',
'access arguments' => array(
'administer redhen contacts',
),
'type' => MENU_NORMAL_ITEM,
);
$items['redhen/dedupe/merge/%'] = array(
'title' => 'Select a primary contact',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'redhen_dedupe_merge_form',
3,
),
'access arguments' => array(
'administer redhen contacts',
),
'file' => 'includes/redhen_dedupe.form.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}