You are here

function party_party_delete in Party 7

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

Implements hook_party_delete().

File

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

Code

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