You are here

function hook_crm_core_contact_merge_contacts in CRM Core 8.2

Same name and namespace in other branches
  1. 8.3 crm_core.api.php \hook_crm_core_contact_merge_contacts()
  2. 8 crm_core.api.php \hook_crm_core_contact_merge_contacts()
  3. 7 crm_core.api.php \hook_crm_core_contact_merge_contacts()

Respond to CRM Core contacts being merged.

Parameters

\Drupal\crm_core_contact\Entity\Contact $master_contact: Contact to which data being merged.

array $merged_contacts: Keyed by contact ID array of contacts being merged.

See also

crm_core_contact_merge_contacts_action()

File

./crm_core.api.php, line 30
Hooks provided by the CRM Core module.

Code

function hook_crm_core_contact_merge_contacts(Drupal\crm_core_contact\Entity\Contact $master_contact, array $merged_contacts) {
}