You are here

function backup_migrate_destination::settings in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 6.2 includes/destinations.inc \backup_migrate_destination::settings()
  2. 7.2 includes/destinations.inc \backup_migrate_destination::settings()
3 calls to backup_migrate_destination::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/destinations.inc, line 570

Class

backup_migrate_destination
A base class for creating destinations.

Code

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