function party_activity_type_save in Party 7
Same name and namespace in other branches
- 8.2 modules/party_activity/party_activity.module \party_activity_type_save()
Save an activity type to the database
File
- modules/
party_activity/ party_activity.module, line 250 - Functions and important hooks for the party_activity module
Code
function party_activity_type_save(PartyActivityType $type) {
$type
->save();
}