You are here

public function DrupalBrowserUploadDestination::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

Overrides ReadableDestinationInterface::loadFileForReading

File

src/Destination/DrupalBrowserUploadDestination.php, line 48

Class

DrupalBrowserUploadDestination
Class BrowserUploadDestination.

Namespace

BackupMigrate\Drupal\Destination

Code

public function loadFileForReading(BackupFileInterface $file) {
  return $file;
}