You are here

function drush_lingotek_prepare_blocks in Lingotek Translation 7.7

Callback function for drush command lt-prepare-blocks

File

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

Code

function drush_lingotek_prepare_blocks($config_groups, $variable) {
  try {
    lingotek_admin_prepare_blocks();
    drush_lingotek_prepare_item($config_groups, $variable);
  } catch (Exception $e) {
    drush_set_error('lt-prepare-blocks', $e
      ->getMessage());
  }
}