function backup_migrate_profile::get_destination in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/profiles.inc \backup_migrate_profile::get_destination()
- 8.3 includes/profiles.inc \backup_migrate_profile::get_destination()
- 6.3 includes/profiles.inc \backup_migrate_profile::get_destination()
- 7.3 includes/profiles.inc \backup_migrate_profile::get_destination()
- 7.2 includes/profiles.inc \backup_migrate_profile::get_destination()
Get the destination of the profile.
1 call to backup_migrate_profile::get_destination()
- backup_migrate_profile::get_destination_name in includes/
profiles.inc - Get the name of the destination.
File
- includes/
profiles.inc, line 280
Class
- backup_migrate_profile
- A profile class for crud operations.
Code
function get_destination() {
backup_migrate_include('destinations');
if (!empty($this->destination_id) && (empty($this->destination) || $this->destination->destination_id !== $this->destination_id)) {
$this->destination = backup_migrate_get_destination($this->destination_id);
}
return empty($this->destination) ? NULL : $this->destination;
}