function hook_og_role_insert in Organic groups 7
Same name and namespace in other branches
- 7.2 og.api.php \hook_og_role_insert()
Allow modules to act upon new group role.
Parameters
$role: The group role object.
1 invocation of hook_og_role_insert()
- og_role_save in ./
og.module - Save a user role to the database.
File
- ./
og.api.php, line 66 - Hooks provided by the Organic groups module.
Code
function hook_og_role_insert($role) {
}