You are here

public function ReadableDestinationInterface::fileExists in Backup and Migrate 8.4

Does the file with the given id (filename) exist in this destination.

Parameters

string $id The id (usually the filename) of the file.:

Return value

bool True if the file exists, false if it does not.

2 methods override ReadableDestinationInterface::fileExists()
DirectoryDestination::fileExists in lib/backup_migrate_core/src/Destination/DirectoryDestination.php
Does the file with the given id (filename) exist in this destination.
DrupalBrowserUploadDestination::fileExists in src/Destination/DrupalBrowserUploadDestination.php
Does the file with the given id (filename) exist in this destination.

File

lib/backup_migrate_core/src/Destination/ReadableDestinationInterface.php, line 54

Class

ReadableDestinationInterface
Interface ReadableDestinationInterface.

Namespace

BackupMigrate\Core\Destination

Code

public function fileExists($id);