You are here

function hook_party_activity_create in Party 7

Make changes to an activity when it is created.

Perform logic when a new activity object is created. Note that not all created activities get saved. This hook is useful for setting default values before the activity is edited in a form.

Parameters

PartyActivity $activity: The activity object.

File

modules/party_activity/party_activity.api.inc, line 18
Hook Documentation for Party Activity.

Code

function hook_party_activity_create($activity) {

  // No Example.
}