You are here

function hook_og_role_grant in Organic groups 7.2

Same name and namespace in other branches
  1. 7 og.api.php \hook_og_role_grant()

Allow modules to react upon a role being granted.

Parameters

$entity_type: The entity type of the group in which a role has been granted.

$gid: The group id of the group in which a role has been granted.

$uid: The user id of the user to whom a role has been granted.

$rid: The OG role id being granted to the user.

1 invocation of hook_og_role_grant()
og_role_grant in ./og.module
Grant a group role to a user.

File

./og.api.php, line 128
Hooks provided by the Organic groups module.

Code

function hook_og_role_grant($entity_type, $gid, $uid, $rid) {
}