You are here

public function backup_migrate_schedule::get_destination_ids in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/schedules.inc \backup_migrate_schedule::get_destination_ids()
  2. 6.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 223
All of the schedule handling code needed for Backup and Migrate.

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

public 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;
}