function ConfigSync::processBatch

Processes the config import batch and persists the importer.

Parameters

\Drupal\Core\Config\ConfigImporter $config_importer: The batch config importer object to persist.

string $sync_step: The synchronization step to do.

array $context: The batch context.

Deprecated

in drupal:8.6.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Config\Importer\ConfigImporterBatch::process() instead.

See also

https://www.drupal.org/node/2897299

File

core/modules/config/src/Form/ConfigSync.php, line 408

Class

ConfigSync
Construct the storage changes in a configuration synchronization form.

Namespace

Drupal\config\Form

Code

public static function processBatch(ConfigImporter $config_importer, $sync_step, &$context) {
    @trigger_error('\\Drupal\\config\\Form\\ConfigSync::processBatch() deprecated in drupal:8.6.0 and will be removed before drupal:9.0.0. Use \\Drupal\\Core\\Config\\Importer\\ConfigImporterBatch::process() instead. See https://www.drupal.org/node/2897299', E_USER_DEPRECATED);
    ConfigImporterBatch::process($config_importer, $sync_step, $context);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.