public function Updater::makeBackup

public Updater::makeBackup(FileTransfer $filetransfer, $from, $to)

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.

File

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

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Updater!Updater.php/function/Updater::makeBackup/8.1.x