function backup_migrate_destination::settings

nittany7 destinations.inc backup_migrate_destination::settings($key = NULL)
mooc7 destinations.inc backup_migrate_destination::settings($key = NULL)
5 calls to backup_migrate_destination::settings()
backup_migrate_destination_files::edit_form in modules/contrib/backup_migrate/includes/destinations.file.inc
Get the form for the settings for the files destination.
backup_migrate_destination_files::_save_file in modules/contrib/backup_migrate/includes/destinations.file.inc
File save destination callback.
backup_migrate_destination_nodesquirrel::edit_form in modules/contrib/backup_migrate/includes/destinations.nodesquirrel.inc
Get the form for the settings for this destination.
backup_migrate_destination_nodesquirrel::get_user_pass in modules/contrib/backup_migrate/includes/destinations.nodesquirrel.inc
Break the secret key into the public/private key (user/pass).
backup_migrate_destination_s3::get_subdir in modules/contrib/backup_migrate/includes/destinations.s3.inc
Get the bucket which is the first part of the path.

File

modules/contrib/backup_migrate/includes/destinations.inc, line 592
All of the destination handling code needed for Backup and Migrate.

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