You are here

function _backup_migrate_destination_get_file_links in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \_backup_migrate_destination_get_file_links()
  2. 8.3 includes/destinations.inc \_backup_migrate_destination_get_file_links()
  3. 5.2 includes/destinations.inc \_backup_migrate_destination_get_file_links()
  4. 6.2 includes/destinations.inc \_backup_migrate_destination_get_file_links()
  5. 7.3 includes/destinations.inc \_backup_migrate_destination_get_file_links()
  6. 7.2 includes/destinations.inc \_backup_migrate_destination_get_file_links()

Get the action links for a file on a given destination.

File

includes/destinations.inc, line 237

Code

function _backup_migrate_destination_get_file_links($destination_id, $file_id) {
  $out = array();
  if ($destination = backup_migrate_get_destination($destination_id)) {
    $out = $destination
      ->get_file_links($file_id);
  }
  return $out;
}