You are here

function party_party_delete in Party 8.2

Same name and namespace in other branches
  1. 7 party.module \party_party_delete()

Implements hook_party_delete().

File

./party.module, line 1563
Provides a generic CRM party entity.

Code

function party_party_delete($party) {
  foreach (party_get_data_set_info() as $data_set) {
    $controller = party_get_crm_controller($party, $data_set['set_name']);
    $controller
      ->hook_party_delete();
  }
}