function hook_user_default_roles_alter in Features 7.2
Same name and namespace in other branches
- 6 features.api.php \hook_user_default_roles_alter()
- 7 features.api.php \hook_user_default_roles_alter()
Alter the default roles right before they are cached into the database.
Parameters
array[] &$roles: By reference. The roles that have been declared by another feature.
Related topics
File
- ./
features.api.php, line 585 - Hooks provided by the features module.
Code
function hook_user_default_roles_alter(&$roles) {
}