locale_permission

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 locale_permission()

Implements hook_permission().

Code

modules/locale/locale.module, line 249

<?php
function locale_permission() {
  return array(
    'administer languages' => array(
      'title' => t('Administer languages'),
    ), 
    'translate interface' => array(
      'title' => t('Translate interface texts'),
    ),
  );
}
?>