You are here

public static function ConfigSync::finishBatch in Drupal 8

Finish batch.

This function is a static function to avoid serializing the ConfigSync object unnecessarily.

Deprecated

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

See also

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

File

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

Class

ConfigSync
Construct the storage changes in a configuration synchronization form.

Namespace

Drupal\config\Form

Code

public static function finishBatch($success, $results, $operations) {
  @trigger_error('\\Drupal\\config\\Form\\ConfigSync::finishBatch() deprecated in drupal:8.6.0 and will be removed before drupal:9.0.0. Use \\Drupal\\Core\\Config\\Importer\\ConfigImporterBatch::finish() instead. See https://www.drupal.org/node/2897299', E_USER_DEPRECATED);
  ConfigImporterBatch::finish($success, $results, $operations);
}