backup_migrate_destination_file_exists

  1. drupal
    1. 6 destinations.inc function
    2. 7 destinations.inc function
Drupal 7 backup_migrate_destination_file_exists($destination_id, $file_id)

Check if a file exists in the given destination.

2 calls to backup_migrate_destination_file_exists()

File

sites/all/modules/backup_migrate/includes/destinations.inc, line 216
All of the destination handling code needed for Backup and Migrate.

Code

function backup_migrate_destination_file_exists($destination_id, $file_id) {
  if ($destination = backup_migrate_get_destination($destination_id)) {
    return $destination->file_exists($file_id);
  }
  return NULL;
}