function hook_redhen_entity_predelete in RedHen CRM 7
Allow modules to act before an entity is deleted.
Parameters
string $entity_type ( redhen_org | redhen_contact ):
Entity $entity:
2 invocations of hook_redhen_entity_predelete()
- RedhenContactEntityController::delete in modules/
redhen_contact/ lib/ redhen_contact.controller.inc - Deletes multiple contacts by ID.
- RedhenOrgEntityController::delete in modules/
redhen_org/ lib/ redhen_org.controller.inc - Deletes multiple orgs by id.
File
- ./
redhen.api.php, line 89 - Hooks provided by the RedHen contact module.
Code
function hook_redhen_entity_predelete($entity_type, $entity) {
}