You are here

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

Import to this source from the given backup file.

This is the main restore function for this source.

Parameters

\Drupal\backup_migrate\Core\File\BackupFileReadableInterface $file: The file to read the backup from. It will not be opened for reading.

Return value

bool|void

Overrides FileDirectorySource::importFromFile

File

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

Class

DrupalSiteArchiveSource
@package Drupal\backup_migrate\Drupal\Source

Namespace

Drupal\backup_migrate\Drupal\Source

Code

public function importFromFile(BackupFileReadableInterface $file) {

  // @todo Implement importFromFile() method.
}