function faq_expert_user_default_roles in Frequently Asked Questions 7.2
Implements hook_user_default_roles().
File
- faq_expert/
faq_expert.features.user_role.inc, line 10 - faq_expert.features.user_role.inc
Code
function faq_expert_user_default_roles() {
$roles = array();
// Exported role: expert.
$roles['expert'] = array(
'name' => 'expert',
'weight' => 2,
);
return $roles;
}