public function DrupalEncrypt::afterBackup in Backup and Migrate 8.4
File
- src/
Filter/ DrupalEncrypt.php, line 132
Class
- DrupalEncrypt
- Class DrupalEncrypt.
Namespace
BackupMigrate\Drupal\FilterCode
public function afterBackup(BackupFileReadableInterface $file) {
if ($this
->confGet('encrypt')) {
$out = $this
->getTempFileManager()
->pushExt($file, 'ssl');
$success = $this
->_encryptFile($file, $out);
if ($out && $success) {
return $out;
}
}
return $file;
}