Returns the full path to a directory where backups should be written.
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();
}