Skip to content
crm_core.api.php 666 B
Newer Older
<?php

/**
 * @file
 * Use a custom label for a contact of bundle CONTACT_BUNDLE.
function hook_crm_core_contact_CONTACT_BUNDLE_label($entity) {

/**
 * 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) {