You are here

function backup_migrate_profile::get_source_name in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/profiles.inc \backup_migrate_profile::get_source_name()
  2. 8.3 includes/profiles.inc \backup_migrate_profile::get_source_name()
  3. 6.2 includes/profiles.inc \backup_migrate_profile::get_source_name()
  4. 7.3 includes/profiles.inc \backup_migrate_profile::get_source_name()
  5. 7.2 includes/profiles.inc \backup_migrate_profile::get_source_name()

Get the name of the source.

File

includes/profiles.inc, line 283

Class

backup_migrate_profile
A profile class for crud operations.

Code

function get_source_name() {
  if ($source = $this
    ->get_source()) {
    return $source
      ->get_name();
  }
  return t("Missing");
}