public function DestinationBase::saveFile in Backup and Migrate 5.0.x
Save a file to the destination.
Parameters
\Drupal\backup_migrate\Core\File\BackupFileReadableInterface $file: The file to save.
Overrides WritableDestinationInterface::saveFile
1 method overrides DestinationBase::saveFile()
- DirectoryDestination::saveFile in src/
Core/ Destination/ DirectoryDestination.php - Save a file to the destination.
File
- src/
Core/ Destination/ DestinationBase.php, line 29
Class
- DestinationBase
- @package Drupal\backup_migrate\Core\Destination
Namespace
Drupal\backup_migrate\Core\DestinationCode
public function saveFile(BackupFileReadableInterface $file) {
$this
->saveTheFile($file);
$this
->saveTheFileMetadata($file);
}