function autoassignrole_content_profile_settings in Auto Assign Role 6
Same name and namespace in other branches
- 6.2 autoassignrole.module \autoassignrole_content_profile_settings()
Implementation of hook_content_profile_settings().
File
- ./
autoassignrole.module, line 476 - The main autoassignrole.module file
Code
function autoassignrole_content_profile_settings() {
static $autoassignrole;
if (empty($autoassignrole)) {
$autoassignrole['autoassignrole_use'] = array_keys(user_roles(TRUE));
}
return $autoassignrole;
}