function transliteration_menu in Transliteration 6.3
Same name and namespace in other branches
- 5.2 transliteration.module \transliteration_menu()
- 5 transliteration.module \transliteration_menu()
- 7.3 transliteration.module \transliteration_menu()
Implements hook_menu().
File
- ./
transliteration.module, line 13 - Converts non-latin text to US-ASCII and sanitizes file names.
Code
function transliteration_menu() {
$items['admin/settings/file-system/settings'] = array(
'title' => 'Settings',
'file path' => drupal_get_path('module', 'system'),
'weight' => -10,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/settings/file-system/transliteration'] = array(
'title' => 'Transliteration',
'description' => 'Convert existing file names to US-ASCII.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'transliteration_retroactive',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'transliteration.admin.inc',
'weight' => 10,
'type' => MENU_LOCAL_TASK,
);
return $items;
}