function hook_party_user_acquisition in Party 7
Same name and namespace in other branches
- 8.2 modules/party_user/party_user.api.php \hook_party_user_acquisition()
Act when a user acquires a party.
Parameters
Party $party: The Party that has been acquired by the user on registration.
$user: The user entity of the account that has acquired the party during registration.
$method: The acquisition method that was used, can be either 'create' or 'acquire':
- 'create' means a new party has been created for this user.
- 'acquire' means an existing party has been found.
See also
1 invocation of hook_party_user_acquisition()
- party_user_user_insert in modules/
party_user/ party_user.module - Implements hook_user_insert().
File
- modules/
party_user/ party_user.api.php, line 23 - Hooks provided by the Party User module.
Code
function hook_party_user_acquisition($party, $user, $method) {
}