You are here

function crm_core_match_menu in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 modules/crm_core_match/crm_core_match.module \crm_core_match_menu()
  2. 8 modules/crm_core_match/crm_core_match.module \crm_core_match_menu()
  3. 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 64
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'] = array(
    'page callback' => 'crm_core_match_testing_page',
    'page arguments' => array(
      3,
    ),
    'title callback' => 'crm_core_match_testing_page_title',
    'title arguments' => array(
      3,
    ),
    'access arguments' => array(
      'view match information',
    ),
    'type' => MENU_SUGGESTED_ITEM,
    'file' => 'crm_core_match.test.inc',
  );
  $items['crm-core/crm-core-match/info'] = array(
    'page callback' => 'crm_core_match_info_page',
    'title' => 'CRM Core Match info',
    'access arguments' => array(
      'view matching engine rules settings',
    ),
    'type' => MENU_SUGGESTED_ITEM,
    'file' => 'crm_core_match.test.inc',
  );
  return $items;
}