protected function ContentExportTrait::getArchiver in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Form/ContentExportTrait.php \Drupal\content_sync\Form\ContentExportTrait::getArchiver()
File
- src/
Form/ ContentExportTrait.php, line 294
Class
- ContentExportTrait
- Defines the content export form.
Namespace
Drupal\content_sync\FormCode
protected function getArchiver() {
if (!isset($this->archiver)) {
$this->archiver = new ArchiveTar($this
->getTempFile(), 'gz');
}
return $this->archiver;
}