function admin_language_menu in Administration Language 6
Same name and namespace in other branches
- 7 admin_language.module \admin_language_menu()
Implementation of hook_menu().
File
- ./
admin_language.module, line 35 - Makes sure all admin pages are displayed in the preferred language of the administrator.
Code
function admin_language_menu() {
$items = array();
$items['admin/settings/language/admin_language'] = array(
'title' => 'Administration language',
'description' => 'Select which parts of the site should use the selected administration language.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'admin_language_settings',
),
'access arguments' => array(
'administer site configuration',
),
'weight' => 42,
'type' => MENU_LOCAL_TASK,
);
return $items;
}