function lingotek_admin_prepare_menus in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.admin.inc \lingotek_admin_prepare_menus()
- 7.4 lingotek.admin.inc \lingotek_admin_prepare_menus()
- 7.5 lingotek.admin.inc \lingotek_admin_prepare_menus()
- 7.6 lingotek.admin.inc \lingotek_admin_prepare_menus()
1 call to lingotek_admin_prepare_menus()
File
- ./
lingotek.admin.inc, line 515
Code
function lingotek_admin_prepare_menus() {
// update all menus to use 'Translate and Localize' in the Multilingual Options
db_update('menu_custom')
->fields(array(
'i18n_mode' => LINGOTEK_MENU_LOCALIZE_TRANSLATE_VALUE,
))
->execute();
return TRUE;
}