You are here

function crm_core_contact_get_primary_email_field_value in CRM Core 7

Returns primary email.

1 string reference to 'crm_core_contact_get_primary_email_field_value'
crm_core_contact_entity_property_info in modules/crm_core_contact/crm_core_contact.module
Implements hook_entity_property_info().

File

modules/crm_core_contact/crm_core_contact.module, line 208
Provides default CRM Core Contact entities and the ability to create more.

Code

function crm_core_contact_get_primary_email_field_value($contact) {
  return crm_core_contact_get_primary_field_value($contact, 'email');
}