translations.features.user_permission.inc 708 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * @file
  4. * translations.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function translations_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'administer languages'.
  12. $permissions['administer languages'] = array(
  13. 'name' => 'administer languages',
  14. 'roles' => array(
  15. 'root' => 'root',
  16. ),
  17. 'module' => 'locale',
  18. );
  19. // Exported permission: 'translate interface'.
  20. $permissions['translate interface'] = array(
  21. 'name' => 'translate interface',
  22. 'roles' => array(
  23. 'administrator' => 'administrator',
  24. 'root' => 'root',
  25. ),
  26. 'module' => 'locale',
  27. );
  28. return $permissions;
  29. }