You are here

function hook_og_role_delete in Organic groups 7.2

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

Allow modules to act upon existing group role deletion.

Parameters

$role: The deleted group role object. The object is actually a dummy, as the data is already deleted from the database. However, we pass the object to allow implementing modules to properly identify the deleted role.

1 invocation of hook_og_role_delete()
og_role_delete in ./og.module
Delete a user role from database.

File

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

Code

function hook_og_role_delete($role) {
}