You are here

function hook_crm_core_contact_merge_contacts in CRM Core 8

Same name and namespace in other branches
  1. 8.3 crm_core.api.php \hook_crm_core_contact_merge_contacts()
  2. 8.2 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\Individual|\Drupal\crm_core_contact\Entity\Organization $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 25
Hooks provided by the CRM Core module.

Code

function hook_crm_core_contact_merge_contacts($master_contact, array $merged_contacts) {
}