You are here

function i18n_node_menu in Internationalization 7

Implements hook_menu().

File

i18n_node/i18n_node.module, line 29
Internationalization (i18n) module - Node type handling

Code

function i18n_node_menu() {
  $items['admin/config/regional/i18n/node'] = array(
    'title' => 'Node options',
    'description' => 'Configure extended options for multilingual content and translations.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'variable_group_form',
      'i18n_node',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
  );
  $items['i18n/node/autocomplete'] = array(
    'page callback' => 'i18n_node_autocomplete',
    'file' => 'i18n_node.pages.inc',
    'access arguments' => array(
      'administer content translations',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}