function hook_user_external_invite_excluded_roles in User External Invite 7.2
Same name and namespace in other branches
- 7 user_external_invite.api.php \hook_user_external_invite_excluded_roles()
- 1.0.x user_external_invite.api.php \hook_user_external_invite_excluded_roles()
Exclude roles used in invite process.
Return value
array $roles List of roles to exclude. ['rid'] - Role ID of excluded role
1 function implements hook_user_external_invite_excluded_roles()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_user_external_invite_excluded_roles()
- user_external_invite_settings_form in ./
user_external_invite.admin.inc - Configuration form for the module.
File
- ./
user_external_invite.api.php, line 15 - Contains hooks provided by the user_external_invite module.
Code
function hook_user_external_invite_excluded_roles($roles) {
$roles[] = 5;
return $roles;
}