You are here

function i18n_variable_menu in Internationalization 7

Implements hook_menu()

File

i18n_variable/i18n_variable.module, line 46
Internationalization (i18n) package. Multilingual variables API.

Code

function i18n_variable_menu() {
  $items['admin/config/regional/i18n/variable'] = array(
    'title' => 'Variables',
    'description' => 'Configure multilingual variables.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'variable_realm_select_variables_form',
      'language',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'variable_realm.form.inc',
    'file path' => drupal_get_path('module', 'variable_realm'),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}