function hook_og_role_insert

7.x-2.x og.api.php hook_og_role_insert($role)
7.x-1.x og.api.php hook_og_role_insert($role)

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/og.module
Save a user role to the database.

File

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

Code

function hook_og_role_insert($role) {
}