function varbase_core_defaultconfig_user_default_roles in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.3
Implements hook_defaultconfig_user_default_roles().
File
- modules/
features/ varbase_core/ varbase_core.features.defaultconfig.inc, line 616 - varbase_core.features.defaultconfig.inc
Code
function varbase_core_defaultconfig_user_default_roles() {
$roles = array();
// Exported role: Content Admin.
$roles['Content Admin'] = array(
'name' => 'Content Admin',
'weight' => 3,
);
// Exported role: Editor.
$roles['Editor'] = array(
'name' => 'Editor',
'weight' => 2,
);
// Exported role: Site Admin.
$roles['Site Admin'] = array(
'name' => 'Site Admin',
'weight' => 4,
);
// Exported role: Super Admin.
$roles['Super Admin'] = array(
'name' => 'Super Admin',
'weight' => 5,
);
return $roles;
}