function locale_permission

Implements hook_permission().

File

modules/locale/locale.module, line 249

Code

function locale_permission() {
    return array(
        'administer languages' => array(
            'title' => t('Administer languages'),
        ),
        'translate interface' => array(
            'title' => t('Translate interface texts'),
            'restrict access' => TRUE,
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.