public static function BatchProcessor::commit in Automatic Updates 8.2
Calls the updater's commit() method.
Parameters
array $context: The current context of the batch job.
See also
\Drupal\automatic_updates\Updater::commit()
File
- src/
BatchProcessor.php, line 101
Class
- BatchProcessor
- A batch processor for updates.
Namespace
Drupal\automatic_updatesCode
public static function commit(array &$context) : void {
try {
static::getUpdater()
->commit();
} catch (\Throwable $e) {
static::handleException($e, $context);
}
}