You are here

function crm_core_contact_save in CRM Core 7

Save a contact.


object $contact: The contact object to be saved

Return value

mixed FALSE if the save fails and SAVED_NEW or SAVED_UPDATED based on the operation performed, exception in case of error.

6 calls to crm_core_contact_save()
CRMFeedsContactProcessor::entitySave in modules/crm_core_contact/includes/
Save a contact.
crm_core_contact_join_into_household_action in modules/crm_core_contact/crm_core_contact.module
Creates household with specified members.
crm_core_contact_ui_form_submit in modules/crm_core_contact_ui/
Submit callback for crm_core_contact_ui_form().
crm_core_user_sync_sync in modules/crm_core_user_sync/crm_core_user_sync.module
Synchronizes user amd contact.
MigrateDestinationCRMCoreContact::import in modules/crm_core_contact/includes/
Import a single contact.

... See full list


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


function crm_core_contact_save($contact) {
  return entity_get_controller('crm_core_contact')