You are here

public function DrupalSiteArchiveSource::__construct in Backup and Migrate 8.4

Parameters

ConfigInterface|array $init:

\BackupMigrate\Core\Source\SourceInterface $db:

\BackupMigrate\Core\Source\SourceInterface $code:

Overrides ConfigurableTrait::__construct

File

src/Source/DrupalSiteArchiveSource.php, line 32

Class

DrupalSiteArchiveSource
Class DrupalSiteArchiveSource.

Namespace

BackupMigrate\Drupal\Source

Code

public function __construct($init = [], SourceInterface $db) {
  parent::__construct($init);
  $this->db_source = $db;
}