public function DrupalUtils::beforeRestore in Backup and Migrate 8.4
Perform actions before restoring the backup.
This used to perform a file size check but it occurred *after* the file was uploaded and uncompressed, which was a complete waste of time.
@todo Remove this.
Parameters
BackupFileReadableInterface $file:
Return value
File
- src/
Filter/ DrupalUtils.php, line 105
Class
- DrupalUtils
- Class DrupalUtils.
Namespace
BackupMigrate\Drupal\FilterCode
public function beforeRestore(BackupFileReadableInterface $file) {
return $file;
}