You are here

function party_save in Party 7

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

Save a party.

Parameters

$party: A party object.

4 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

File

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

Code

function party_save(&$party) {
  return entity_get_controller('party')
    ->save($party);
}