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