You are here

function drush_lingotek_prepare_menus in Lingotek Translation 7.7

Callback function for drush command lt-prepare-menus

File

./lingotek.drush.inc, line 232
Drush command file

Code

function drush_lingotek_prepare_menus($config_groups, $variable) {
  try {
    lingotek_admin_prepare_menus();
    drush_lingotek_prepare_item($config_groups, $variable);
  } catch (Exception $e) {
    drush_set_error('lt-prepare-menus', $e
      ->getMessage());
  }
}