You are here

function gathercontent_drush_import_process_finished in GatherContent 7.3

Same name and namespace in other branches
  1. 8.5 gathercontent.drush.inc \gathercontent_drush_import_process_finished()
  2. 8.3 gathercontent.drush.inc \gathercontent_drush_import_process_finished()
  3. 8.4 gathercontent.drush.inc \gathercontent_drush_import_process_finished()
1 string reference to 'gathercontent_drush_import_process_finished'
drush_gathercontent_import in ./gathercontent.drush.inc
Implements drush_COMMAND().

File

./gathercontent.drush.inc, line 251
Drush command to cli config import.

Code

function gathercontent_drush_import_process_finished($success, $results, $operations) {
  if ($success) {
    drush_log(dt('Import finished'), 'ok');
  }
  else {
    drush_set_error('gathercontent_import_failed', dt('Import failed'));
  }
}