function crm_core_contact_create in CRM Core 7
Create empty contact entity.
Deprecated
since contacts moved to entity api.
File
- modules/
crm_core_contact/ crm_core_contact.module, line 238 - Provides default CRM Core Contact entities and the ability to create more.
Code
function crm_core_contact_create($values) {
return entity_get_controller('crm_core_contact')
->create($values);
}