function crm_core_match_menu in CRM Core 8
Same name and namespace in other branches
- 8.3 modules/crm_core_match/crm_core_match.module \crm_core_match_menu()
- 8.2 modules/crm_core_match/crm_core_match.module \crm_core_match_menu()
- 7 modules/crm_core_match/crm_core_match.module \crm_core_match_menu()
Implements hook_menu().
File
- modules/
crm_core_match/ crm_core_match.module, line 67 - Manages matching engines for identifying duplicate contacts in CRM Core.
Code
function crm_core_match_menu() {
$items['crm-core/crm-core-match/check-rules/%crm_core_contact'] = [
'page callback' => 'crm_core_match_testing_page',
'page arguments' => [
3,
],
'title callback' => 'crm_core_match_testing_page_title',
'title arguments' => [
3,
],
'access arguments' => [
'view match information',
],
'type' => MENU_SUGGESTED_ITEM,
'file' => 'crm_core_match.test.inc',
];
$items['crm-core/crm-core-match/info'] = [
'page callback' => 'crm_core_match_info_page',
'title' => 'CRM Core Match info',
'access arguments' => [
'view matching engine rules settings',
],
'type' => MENU_SUGGESTED_ITEM,
'file' => 'crm_core_match.test.inc',
];
return $items;
}