You are here

public function Updater::stage in Automatic Updates 8.2

Stages the update.

File

src/Updater.php, line 176

Class

Updater
Defines a service to perform updates.

Namespace

Drupal\automatic_updates

Code

public function stage() : void {
  $current = $this->state
    ->get(static::STATE_KEY);
  $this
    ->stagePackages($current['package_versions']);
}