function transliteration_menu in Transliteration 7.3
Same name and namespace in other branches
- 5.2 transliteration.module \transliteration_menu()
- 5 transliteration.module \transliteration_menu()
- 6.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/config/media/file-system/settings'] = array(
'title' => 'Settings',
'file path' => drupal_get_path('module', 'system'),
'weight' => -10,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/media/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;
}