You are here

function i18n_menu in Internationalization 7

Same name and namespace in other branches
  1. 5.3 i18n.module \i18n_menu()
  2. 5 i18n.module \i18n_menu()
  3. 5.2 i18n.module \i18n_menu()
  4. 6 i18n.module \i18n_menu()

Implements hook_menu().

3 string references to 'i18n_menu'
i18nMenuTestCase::setUp in i18n_menu/i18n_menu.test
Sets up a Drupal site for running functional and integration tests.
i18nStringTestCase::setUp in i18n_string/i18n_string.test
Sets up a Drupal site for running functional and integration tests.
i18n_menu_item_translation_page in i18n_menu/i18n_menu.i18n.inc
Callback for menu item translation tab.

File

./i18n.module, line 265
Internationalization (i18n) module.

Code

function i18n_menu() {
  $items['admin/config/regional/i18n'] = array(
    'title' => 'Multilingual settings',
    'description' => 'Configure extended options for multilingual content and translations.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'variable_module_form',
      'i18n',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'weight' => 10,
  );
  $items['admin/config/regional/i18n/configure'] = array(
    'title' => 'Multilingual system',
    'description' => 'Configure extended options for multilingual content and translations.',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  module_load_include('pages.inc', 'i18n');
  $items += i18n_page_menu_items();
  return $items;
}