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