You are here

public function ReadableDestinationInterface::fileExists in Backup and Migrate 5.0.x

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 Whether the file exists in this destination.

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

File

src/Core/Destination/ReadableDestinationInterface.php, line 58

Class

ReadableDestinationInterface
Interface ReadableDestinationInterface.

Namespace

Drupal\backup_migrate\Core\Destination

Code

public function fileExists($id);