You are here

function civicrm_entity_contact_get_email in CiviCRM Entity 7.2

Parameters

$contact:

$location_type_id:

Return value

array

1 string reference to 'civicrm_entity_contact_get_email'
civicrm_entity_rules_action_info in ./civicrm_entity.rules.inc
Implements hook_rules_action_info().

File

./civicrm_entity.module, line 3275

Code

function civicrm_entity_contact_get_email($contact, $location_type_id) {
  return civicrm_entity_contact_get_location_element('email', $contact, $location_type_id);
}