You are here

public static function Importer::getBasicImportBatch in GatherContent 8.4

Don't forget to add a finished callback and the operations array.

1 call to Importer::getBasicImportBatch()
drush_gathercontent_import in ./gathercontent.drush.inc
Implements drush_COMMAND().

File

src/Import/Importer.php, line 64

Class

Importer
Class for handling import/update logic from GatherContent to Drupal.

Namespace

Drupal\gathercontent\Import

Code

public static function getBasicImportBatch() {
  return [
    'title' => t('Importing'),
    'init_message' => t('Starting import'),
    'error_message' => t('An error occurred during processing'),
    'progress_message' => t('Processed @current out of @total.'),
    'progressive' => TRUE,
  ];
}