123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- /**
- * @file
- * translations.features.user_permission.inc
- */
- /**
- * Implements hook_user_default_permissions().
- */
- function translations_user_default_permissions() {
- $permissions = array();
- // Exported permission: 'access selected languages'.
- $permissions['access selected languages'] = array(
- 'name' => 'access selected languages',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'administer content translations'.
- $permissions['administer content translations'] = array(
- 'name' => 'administer content translations',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'i18n_node',
- );
- // Exported permission: 'administer languages'.
- $permissions['administer languages'] = array(
- 'name' => 'administer languages',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'locale',
- );
- // Exported permission: 'administer user translation language access'.
- $permissions['administer user translation language access'] = array(
- 'name' => 'administer user translation language access',
- 'roles' => array(
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'delete_strings'.
- $permissions['delete_strings'] = array(
- 'name' => 'delete_strings',
- 'roles' => array(
- 'root' => 'root',
- ),
- 'module' => 'materio_translator',
- );
- // Exported permission: 'translate interface'.
- $permissions['translate interface'] = array(
- 'name' => 'translate interface',
- 'roles' => array(
- 'Translator' => 'Translator',
- 'administrator' => 'administrator',
- 'root' => 'root',
- ),
- 'module' => 'locale',
- );
- return $permissions;
- }
|