You are here

function backup_migrate_profile::get_all_locations in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/profiles.inc \backup_migrate_profile::get_all_locations()
  2. 7.3 includes/profiles.inc \backup_migrate_profile::get_all_locations()

Get the source and destinations specified in the given settings profile

File

includes/profiles.inc, line 339

Class

backup_migrate_profile
A profile class for crud operations.

Code

function get_all_locations() {
  $out = array();
  $out += $this
    ->get('destinations');
  $out[] = $this
    ->get('source');
  return $out;
}