public function ReadableDestinationInterface::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.
2 methods override ReadableDestinationInterface::loadFileForReading()
- DirectoryDestination::loadFileForReading in src/
Core/ Destination/ DirectoryDestination.php - Load the file with the given ID from the destination.
- DrupalBrowserUploadDestination::loadFileForReading in src/
Drupal/ Destination/ DrupalBrowserUploadDestination.php - Load the file with the given ID from the destination.
File
- src/
Core/ Destination/ ReadableDestinationInterface.php, line 47
Class
- ReadableDestinationInterface
- Interface ReadableDestinationInterface.
Namespace
Drupal\backup_migrate\Core\DestinationCode
public function loadFileForReading(BackupFileInterface $file);