protected function ContentExportTrait::getArchiver in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 src/Form/ContentExportTrait.php \Drupal\content_sync\Form\ContentExportTrait::getArchiver()
File
- src/
Form/ ContentExportTrait.php, line 300
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;
}