public function backup_migrate_destination_files::get_realpath in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.file.inc \backup_migrate_destination_files::get_realpath()
- 8.3 includes/destinations.file.inc \backup_migrate_destination_files::get_realpath()
- 6.3 includes/destinations.file.inc \backup_migrate_destination_files::get_realpath()
- 7.2 includes/destinations.file.inc \backup_migrate_destination_files::get_realpath()
Get the file location.
2 calls to backup_migrate_destination_files::get_realpath()
- backup_migrate_destination_files::get_filepath in includes/
destinations.file.inc - Get the filepath from the given file id.
- backup_migrate_destination_files::_list_files in includes/
destinations.file.inc - File list destination callback.
File
- includes/
destinations.file.inc, line 26 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_files
- A destination type for saving locally to the server.
Code
public function get_realpath() {
if ($realpath = drupal_realpath($this
->get_location())) {
return $realpath;
}
return $this
->get_location();
}