You are here

function hook_party_hat_unassign_hats in Party 8.2

Same name and namespace in other branches
  1. 7 modules/party_hat/party_hat.api.php \hook_party_hat_unassign_hats()

Act on a Party when some Hats are unassigned.

Parameters

$party: The party the hats have been unassigned from

$hats: The hats that have been unassigned from the party. An array of hat objects keyed by hat name

See also

party_hat_hats_unassign()

2 invocations of hook_party_hat_unassign_hats()
party_hat_hats_unassign in modules/party_hat/party_hat.module
Unassign hats
party_hat_party_form_hat_submit in modules/party_hat/party_hat.module
Trigger Rules etc when a hat is assigned.

File

modules/party_hat/party_hat.api.php, line 37
Hooks provided by the Party Hats module.

Code

function hook_party_hat_unassign_hats($party, $hats) {
}