function party_save in Party 8.2
Same name and namespace in other branches
- 7 party.module \party_save()
Save a party.
Parameters
$party: A party object.
5 calls to party_save()
- party_edit_form_submit in ./
party.pages.inc - Submit handler for the the Party edit form.
- party_hat_hats_assign in modules/
party_hat/ party_hat.module - Assign a number of hats to a party
- party_hat_hats_unassign in modules/
party_hat/ party_hat.module - Unassign hats
- party_user_create_party_for_user in modules/
party_user/ party_user.module - party_user_create_party_for_user
- party_user_user_insert in modules/
party_user/ party_user.module - Implements hook_user_insert().
File
- ./
party.module, line 1227 - Provides a generic CRM party entity.
Code
function party_save(&$party) {
return entity_get_controller('party')
->save($party);
}