27 lines
408 B
PHP
27 lines
408 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* admin.features.user_role.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_user_default_roles().
|
|
*/
|
|
function admin_user_default_roles() {
|
|
$roles = array();
|
|
|
|
// Exported role: administrator.
|
|
$roles['administrator'] = array(
|
|
'name' => 'administrator',
|
|
'weight' => 2,
|
|
);
|
|
|
|
// Exported role: root.
|
|
$roles['root'] = array(
|
|
'name' => 'root',
|
|
'weight' => 3,
|
|
);
|
|
|
|
return $roles;
|
|
}
|