You are here

public function backup_migrate_location::settings in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.3 includes/locations.inc \backup_migrate_location::settings()
  2. 6.3 includes/locations.inc \backup_migrate_location::settings()
3 calls to backup_migrate_location::settings()
backup_migrate_destination_files::edit_form in includes/destinations.file.inc
Get the form for the settings for the files destination.
backup_migrate_destination_files::_save_file in includes/destinations.file.inc
File save destination callback.
backup_migrate_destination_s3::get_subdir in includes/destinations.s3.inc
Get the bucket which is the first part of the path.

File

includes/locations.inc, line 172

Class

backup_migrate_location
A base class for creating locations.

Code

public function settings($key = NULL) {
  $out = $this->settings;
  if ($key) {
    $out = isset($out[$key]) ? $out[$key] : NULL;
  }
  return $out;
}