You are here

public function DrupalBrowserUploadDestination::loadFileForReading in Backup and Migrate 5.0.x

Load the file with the given ID from the destination.

Parameters

\Drupal\backup_migrate\Core\File\BackupFileInterface $file:

Return value

\Drupal\backup_migrate\Core\File\BackupFileReadableInterface The file if it exists or NULL if it doesn't

Overrides ReadableDestinationInterface::loadFileForReading

File

src/Drupal/Destination/DrupalBrowserUploadDestination.php, line 48

Class

DrupalBrowserUploadDestination
@package Drupal\backup_migrate\Core\Destination

Namespace

Drupal\backup_migrate\Drupal\Destination

Code

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