You are here

public function Updater::makeBackup in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::makeBackup()

Performs a backup.

@todo Not implemented: https://www.drupal.org/node/2474355

Parameters

\Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object which is a child of FileTransfer.

string $from: The file path to copy from.

string $to: The file path to copy to.

1 call to Updater::makeBackup()
Updater::update in core/lib/Drupal/Core/Updater/Updater.php
Updates a Drupal project and returns a list of next actions.

File

core/lib/Drupal/Core/Updater/Updater.php, line 373

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

public function makeBackup(FileTransfer $filetransfer, $from, $to) {
}