function backup_migrate_destination_s3::local_path in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.s3.inc \backup_migrate_destination_s3::local_path()
- 6.3 includes/destinations.s3.inc \backup_migrate_destination_s3::local_path()
- 6.2 includes/destinations.s3.inc \backup_migrate_destination_s3::local_path()
- 7.3 includes/destinations.s3.inc \backup_migrate_destination_s3::local_path()
- 7.2 includes/destinations.s3.inc \backup_migrate_destination_s3::local_path()
Generate a filepath with the correct prefix.
1 call to backup_migrate_destination_s3::local_path()
- backup_migrate_destination_s3::_list_files in includes/destinations.s3.inc 
- List all files from the s3 destination.
File
- includes/destinations.s3.inc, line 133 
- Functions to handle the s3 backup destination.
Class
- backup_migrate_destination_s3
- A destination for sending database backups to an s3 server.
Code
function local_path($path) {
  if ($subdir = $this
    ->get_subdir()) {
    $path = str_replace($subdir . '/', '', $path);
  }
  return $path;
}