You are here

function drush_lingotek_prepare_vocab in Lingotek Translation 7.7

Callback function for drush command lt-prepare-taxonomies

File

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

Code

function drush_lingotek_prepare_vocab($config_groups, $variable) {
  try {
    lingotek_admin_prepare_taxonomies();
    drush_lingotek_prepare_item($config_groups, $variable);
  } catch (Exception $e) {
    drush_set_error('lt-prepare-taxonomies', $e
      ->getMessage());
  }
}