1 config.sync.inc _config_sync_start($config_statuses, &$context)

Batch API callback. Start the config import.

File

core/modules/config/config.sync.inc, line 27

Code

function _config_sync_start($config_statuses, &$context) {
  state_set('config_sync', REQUEST_TIME);

  // The complete list of changes are stored in the results array. This makes
  // these values available in all subsequent batch callbacks.
  $context['results']['all_configs'] = $config_statuses;
  $context['results']['pending_changes'] = array_filter($config_statuses);
  $context['results']['completed_changes'] = array();
}