function crm_core_user_sync_get_contact_from_uid in CRM Core 7
Same name and namespace in other branches
- 8.2 modules/crm_core_user_sync/crm_core_user_sync.module \crm_core_user_sync_get_contact_from_uid()
Retrieves the related contacts for given uid(s).
6 calls to crm_core_user_sync_get_contact_from_uid()
- crm_core_contact_send_email_action in modules/
crm_core_contact/ crm_core_contact.module - Send e-mail to contacts action.
- crm_core_user_sync_edit_relation_form_validate in modules/
crm_core_user_sync/ crm_core_user_sync.admin.inc - Validate callback on edit form.
- crm_core_user_sync_init in modules/
crm_core_user_sync/ crm_core_user_sync.module - Implements hook_init().
- crm_core_user_sync_sync in modules/
crm_core_user_sync/ crm_core_user_sync.module - Synchronizes user amd contact.
- crm_core_user_sync_user_view in modules/
crm_core_user_sync/ crm_core_user_sync.module - Implements hook_user_view().
File
- modules/
crm_core_user_sync/ crm_core_user_sync.module, line 436
Code
function crm_core_user_sync_get_contact_from_uid($uid) {
return crm_core_user_sync_get_related_entity('user', $uid, 'crm_core_user_sync');
}