public function ReadableDestinationInterface::loadFileForReading in Backup and Migrate 8.4
Load the file with the given ID from the destination.
Parameters
\BackupMigrate\Core\File\BackupFileInterface $file:
Return value
\BackupMigrate\Core\File\BackupFileReadableInterface The file if it exists or NULL if it doesn't
2 methods override ReadableDestinationInterface::loadFileForReading()
- DirectoryDestination::loadFileForReading in lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php - Load the file with the given ID from the destination.
- DrupalBrowserUploadDestination::loadFileForReading in src/
Destination/ DrupalBrowserUploadDestination.php - Load the file with the given ID from the destination.
File
- lib/
backup_migrate_core/ src/ Destination/ ReadableDestinationInterface.php, line 44
Class
- ReadableDestinationInterface
- Interface ReadableDestinationInterface.
Namespace
BackupMigrate\Core\DestinationCode
public function loadFileForReading(BackupFileInterface $file);