You are here

function hook_party_hat_assign_hats in Party 8.2

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

Act on a Party when some Hats are assigned.

Parameters

$party: The party the hats have been assigned to

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

See also

party_hat_hats_assign()

2 invocations of hook_party_hat_assign_hats()
party_hat_hats_assign in modules/party_hat/party_hat.module
Assign a number of hats to a party
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 23
Hooks provided by the Party Hats module.

Code

function hook_party_hat_assign_hats($party, $hats) {
}