admin.features.user_role.inc 678 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * @file
  4. * admin.features.user_role.inc
  5. */
  6. /**
  7. * Implements hook_user_default_roles().
  8. */
  9. function admin_user_default_roles() {
  10. $roles = array();
  11. // Exported role: administrator.
  12. $roles['administrator'] = array(
  13. 'name' => 'administrator',
  14. 'weight' => 2,
  15. );
  16. // Exported role: anonymous user.
  17. $roles['anonymous user'] = array(
  18. 'name' => 'anonymous user',
  19. 'weight' => 0,
  20. );
  21. // Exported role: authenticated user.
  22. $roles['authenticated user'] = array(
  23. 'name' => 'authenticated user',
  24. 'weight' => 1,
  25. );
  26. // Exported role: root.
  27. $roles['root'] = array(
  28. 'name' => 'root',
  29. 'weight' => 3,
  30. );
  31. return $roles;
  32. }