crm_core-8.x-3.x-dev/crm_core.api.php
crm_core.api.php
<?php
/**
* @file
* Hooks provided by the CRM Core module.
*/
/**
* Use a custom label for a contact of bundle CONTACT_BUNDLE.
*/
function hook_crm_core_contact_CONTACT_BUNDLE_label($entity) {
// No example.
}
/**
* Respond to CRM Core contacts being merged.
*
* @param \Drupal\crm_core_contact\Entity\Individual|\Drupal\crm_core_contact\Entity\Organization $master_contact
* Contact to which data being merged.
* @param array $merged_contacts
* Keyed by contact ID array of contacts being merged.
*
* @see crm_core_contact_merge_contacts_action()
*/
function hook_crm_core_contact_merge_contacts($master_contact, array $merged_contacts) {
}
