public function Updater::getBackupDir

Returns the full path to a directory where backups should be written.

1 call to Updater::getBackupDir()
Updater::getInstallArgs in drupal/core/lib/Drupal/Core/Updater/Updater.php
Stores the default parameters for the Updater.

File

drupal/core/lib/Drupal/Core/Updater/Updater.php, line 339
Definition of Drupal\Core\Updater\Updater.

Class

Updater
Defines the base class for Updaters used in Drupal.

Namespace

Drupal\Core\Updater

Code

public function getBackupDir() {
  return file_stream_wrapper_get_instance_by_scheme('temporary')
    ->getDirectoryPath();
}