You are here

function gathercontent_drush_import_process_finished in GatherContent 8.4

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. 7.3 gathercontent.drush.inc \gathercontent_drush_import_process_finished()

Batch process "finished" callback.

1 string reference to 'gathercontent_drush_import_process_finished'
drush_gathercontent_import in ./gathercontent.drush.inc
Implements drush_COMMAND().

File

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

Code

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