You are here

public function backup_migrate_profile::get_source_name in Backup and Migrate 7.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.3 includes/profiles.inc \backup_migrate_profile::get_source_name()
  4. 6.2 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 310

Class

backup_migrate_profile
A profile class for crud operations.

Code

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