public function SourceInterface::exportToFile in Backup and Migrate 5.0.x
Export this source to the given temp file.
This should be the main back up function for this source.
Return value
\Drupal\backup_migrate\Core\File\BackupFileReadableInterface A backup file with the contents of the source dumped to it..
2 methods override SourceInterface::exportToFile()
- FileDirectorySource::exportToFile in src/
Core/ Source/ FileDirectorySource.php - Export this source to the given temp file.
- MySQLiSource::exportToFile in src/
Core/ Source/ MySQLiSource.php - Export this source to the given temp file.
File
- src/
Core/ Source/ SourceInterface.php, line 21
Class
- SourceInterface
- Provides an interface defining a backup source.
Namespace
Drupal\backup_migrate\Core\SourceCode
public function exportToFile();