function hook_party_primary_fields_alter in Party 7
Alter the primary fields before storing (if applicable).
Parameters
Party $party: The Party entity we are dealing with.
int $needs_store: A bit mask of indicating whether we need to store any changes. Comprised of the PartyController::UPDATE_* constants.
1 function implements hook_party_primary_fields_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- party_party_primary_fields_alter in ./
party.party.inc - Implements hook_party_primary_fields_alter().
1 invocation of hook_party_primary_fields_alter()
- PartyController::setPrimaryFields in includes/
party.entity.inc - Set the primary fields for the party.
File
- ./
party.api.php, line 538 - Hooks provided by the Party module.
Code
function hook_party_primary_fields_alter(Party $party, &$needs_store) {
// No example.
}