function hook_og_invite_people_invited in OG Invite People 7.2
Same name and namespace in other branches
- 7 og_invite_people.api.php \hook_og_invite_people_invited()
Allows you to take action when a new user is invited to OG group through OG Invite People.
Parameters
$account: The user object for the account associated with the group.
$og_membership: The OG membership object.
1 invocation of hook_og_invite_people_invited()
- _og_invite_people_new_users_form_submit in ./
og_invite_people.form.inc - Submit handler for _og_invite_people_new_users_form.
File
- ./
og_invite_people.api.php, line 20 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_og_invite_people_invited($account, $og_membership) {
// Example.
// drupal_set_message('We have a new member.');
}