function hook_og_default_roles in Organic groups 7.2
Same name and namespace in other branches
- 7 og.api.php \hook_og_default_roles()
Set a default role that will be used as a global role.
A global role, is a role that is assigned by default to all new groups.
1 function implements hook_og_default_roles()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- og_og_default_roles in ./
og.module - Implements hook_og_default_roles().
2 invocations of hook_og_default_roles()
- og_get_default_roles in ./
og.module - Get array of default roles, keyed by their declaring module.
- _og_features_role_dependencies in includes/
og_features_role.features.inc - Return a module name providing given role or FALSE.
File
- ./
og.api.php, line 69 - Hooks provided by the Organic groups module.
Code
function hook_og_default_roles() {
return array(
'super admin',
);
}