You are here

function admin_language_menu in Administration Language 7

Same name and namespace in other branches
  1. 6 admin_language.module \admin_language_menu()

Implements hook_menu().

File

./admin_language.module, line 43
Makes admin pages be displayed in the administrator's preferred language.

Code

function admin_language_menu() {
  $items = array();
  $items['admin/config/regional/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;
}