You are here

public function Updater::makeBackup in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 374
Contains \Drupal\Core\Updater\Updater.

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

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