function crm_core_contact_delete_multiple in CRM Core 7
Delete multiple contact records.
The wrapper for delete() method of 'crm_core_contact' controller.
Parameters
array $contact_ids: Flat array of contact ids like array(5, 6, 7).
Return value
TRUE or throw exception and write it to watchdog.
4 calls to crm_core_contact_delete_multiple()
- CRMFeedsContactProcessor::entityDeleteMultiple in modules/
crm_core_contact/ includes/ CRMFeedsContactProcessor.inc - Delete a series of contacts.
- crm_core_contact_delete in modules/
crm_core_contact/ crm_core_contact.module - Deletes a single contact record.
- crm_core_contact_merge_contacts_action in modules/
crm_core_contact/ crm_core_contact.module - Merge contacts.
- MigrateDestinationCRMCoreContact::bulkRollback in modules/
crm_core_contact/ includes/ crm_core_contact.migrate.inc - Delete a batch of contacts at once.
1 string reference to 'crm_core_contact_delete_multiple'
- MigrateDestinationCRMCoreContact::bulkRollback in modules/
crm_core_contact/ includes/ crm_core_contact.migrate.inc - Delete a batch of contacts at once.
File
- modules/
crm_core_contact/ crm_core_contact.module, line 864 - Provides default CRM Core Contact entities and the ability to create more.
Code
function crm_core_contact_delete_multiple($contact_ids = array()) {
return entity_get_controller('crm_core_contact')
->delete($contact_ids);
}