function backup_migrate_profile::get_source

cis7 profiles.inc backup_migrate_profile::get_source()
cle7 profiles.inc backup_migrate_profile::get_source()
elmsmedia7 profiles.inc backup_migrate_profile::get_source()
icor7 profiles.inc backup_migrate_profile::get_source()
meedjum_blog7 profiles.inc backup_migrate_profile::get_source()
mooc7 profiles.inc backup_migrate_profile::get_source()

Get the source of the profile.

1 call to backup_migrate_profile::get_source()
backup_migrate_profile::get_source_name in sites/all/modules/ulmus/backup_migrate/includes/profiles.inc
Get the name of the source.

File

sites/all/modules/ulmus/backup_migrate/includes/profiles.inc, line 260
All of the settings profiles handling code for Backup and Migrate.

Class

backup_migrate_profile
A profile class for crud operations.

Code

function get_source() {
  backup_migrate_include('destinations');
  if (!empty($this->source_id) && (empty($this->source) || $this->source->destination_id !== $this->source_id)) {
    $this->source = backup_migrate_get_destination($this->source_id);
  }
  return empty($this->source) ? NULL : $this->source;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.