function translation_menu
Same name and namespace in other branches
- 7.x drupal-7.x/modules/translation/translation.module \translation_menu()
Implementation of hook_menu().
Archivo
- drupal-6.x/
modules/ translation/ translation.module, line 55 - Manages content translations.
Código
function translation_menu() {
$items = array();
$items['node/%node/translate'] = array(
'title' => 'Translate',
'page callback' => 'translation_node_overview',
'page arguments' => array(1),
'access callback' => '_translation_tab_access',
'access arguments' => array(1),
'type' => MENU_LOCAL_TASK,
'weight' => 2,
'file' => 'translation.pages.inc',
);
return $items;
}