function Updater::makeBackup
Same name in other branches
- 7.x includes/updater.inc \Updater::makeBackup()
- 9 core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::makeBackup()
- 8.9.x core/lib/Drupal/Core/Updater/Updater.php \Drupal\Core\Updater\Updater::makeBackup()
- 11.x 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 392
Class
- Updater
- Defines the base class for Updaters used in Drupal.
Namespace
Drupal\Core\UpdaterCode
public function makeBackup(FileTransfer $filetransfer, $from, $to) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.