You are here

public function DrupalSiteArchiveSource::__construct in Backup and Migrate 5.0.x

Parameters

\Drupal\backup_migrate\Core\Config\ConfigInterface|array $init:

\Drupal\backup_migrate\Core\Source\SourceInterface $db:

Overrides ConfigurableTrait::__construct

File

src/Drupal/Source/DrupalSiteArchiveSource.php, line 25

Class

DrupalSiteArchiveSource
@package Drupal\backup_migrate\Drupal\Source

Namespace

Drupal\backup_migrate\Drupal\Source

Code

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