function stringoverrides_migrate_menu in String Overrides 7
Implements hook_menu().
File
- ./
stringoverrides_migrate.module, line 25 - Stringoverride main module.
Code
function stringoverrides_migrate_menu() {
$items['admin/config/regional/stringoverrides/import'] = array(
'title' => 'Import',
'description' => 'Import a set of overrides from a *.po file.',
'page arguments' => array(
'stringoverrides_migrate_admin_import',
),
'access arguments' => array(
'administer string overrides',
),
'type' => MENU_LOCAL_TASK,
'weight' => 9,
'file' => 'stringoverrides_migrate.admin.inc',
);
$items['admin/config/regional/stringoverrides/export'] = array(
'title' => 'Export',
'description' => 'Export a set of overrides to a *.po file.',
'page arguments' => array(
'stringoverrides_migrate_admin_export',
),
'access arguments' => array(
'administer string overrides',
),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'stringoverrides_migrate.admin.inc',
);
return $items;
}