function hook_og_default_roles in Organic groups 7
Same name and namespace in other branches
- 7.2 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 - Implement hook_og_default_roles()
1 invocation of hook_og_default_roles()
- og_get_default_roles in ./
og.module - Get arary of default roles, keyed by their declaring module.
File
- ./
og.api.php, line 43 - Hooks provided by the Organic groups module.
Code
function hook_og_default_roles() {
return array(
'super admin',
);
}