function i18n_node_permission in Internationalization 7
Implements hook_permission().
Permissions defined
- administer all languages Disables language conditions for administration pages, so the user can view objects for all languages at the same time. This applies for: menu items, taxonomy
- administer translations Will allow to add/remove existing nodes to/from translation sets.
File
- i18n_node/
i18n_node.module, line 248 - Internationalization (i18n) module - Node type handling
Code
function i18n_node_permission() {
return array(
'administer content translations' => array(
'title' => t('Administer content translations'),
'description' => t('Add or remove existing content to translation sets.'),
),
);
}