You are here

function party_hat_save in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_hat/party_hat.module \party_hat_save()

Save a hat.

Parameters

$hat a party_hat object.:

1 call to party_hat_save()
party_hat_form_submit in modules/party_hat/party_hat.admin.inc
Form submission for the hat edit form.

File

modules/party_hat/party_hat.module, line 128
party_hat.module Provides an extensible access system for parties.

Code

function party_hat_save(&$hat) {
  return entity_get_controller('party_hat')
    ->save($hat);
}