1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- function admin_user_default_roles() {
- $roles = array();
-
- $roles['administrator'] = array(
- 'name' => 'administrator',
- 'weight' => 2,
- );
-
- $roles['anonymous user'] = array(
- 'name' => 'anonymous user',
- 'weight' => 0,
- );
-
- $roles['authenticated user'] = array(
- 'name' => 'authenticated user',
- 'weight' => 1,
- );
-
- $roles['root'] = array(
- 'name' => 'root',
- 'weight' => 3,
- );
- return $roles;
- }
|