function i18nprofile_menu in Internationalization 5.3
Same name and namespace in other branches
- 5 i18nprofile/i18nprofile.module \i18nprofile_menu()
- 5.2 i18nprofile/i18nprofile.module \i18nprofile_menu()
Implementation of hook_menu().
File
- i18nprofile/
i18nprofile.module, line 25
Code
function i18nprofile_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/user/profile/default',
'title' => t('profile'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'callback' => 'i18nprofile_translation',
);
$items[] = array(
'path' => 'admin/user/profile/translation',
'title' => t('translation'),
'type' => MENU_LOCAL_TASK,
'callback' => 'i18nprofile_translation',
);
}
return $items;
}