function backup_migrate_schedule::get_destination_ids in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/schedules.inc \backup_migrate_schedule::get_destination_ids()
- 7.3 includes/schedules.inc \backup_migrate_schedule::get_destination_ids()
Get the destination object of the schedule.
1 call to backup_migrate_schedule::get_destination_ids()
- backup_migrate_schedule::get_destinations in includes/
schedules.inc - Get the destination object of the schedule.
File
- includes/
schedules.inc, line 220 - All of the schedule handling code needed for Backup and Migrate.
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function get_destination_ids() {
$out = array();
foreach (array(
'destination_id',
'copy_destination_id',
) as $key) {
if ($id = $this
->get($key)) {
$out[$key] = $id;
}
}
return $out;
}