You are here

function lingotek_admin_prepare_menus in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lingotek.admin.inc \lingotek_admin_prepare_menus()
  2. 7.3 lingotek.admin.inc \lingotek_admin_prepare_menus()
  3. 7.5 lingotek.admin.inc \lingotek_admin_prepare_menus()
  4. 7.6 lingotek.admin.inc \lingotek_admin_prepare_menus()
1 call to lingotek_admin_prepare_menus()
lingotek_admin_additional_translation_settings_form_submit in ./lingotek.admin.inc

File

./lingotek.admin.inc, line 943

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;
}