You are here

protected function ContentExportTrait::getTempFile in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/Form/ContentExportTrait.php \Drupal\content_sync\Form\ContentExportTrait::getTempFile()
3 calls to ContentExportTrait::getTempFile()
ContentExportForm::submitForm in src/Form/ContentExportForm.php
Form submission handler.
ContentExportMultiple::submitForm in src/Form/ContentExportMultiple.php
Form submission handler.
ContentExportTrait::getArchiver in src/Form/ContentExportTrait.php

File

src/Form/ContentExportTrait.php, line 301

Class

ContentExportTrait
Defines the content export form.

Namespace

Drupal\content_sync\Form

Code

protected function getTempFile() {
  return \Drupal::service('file_system')
    ->getTempDirectory() . '/content.tar.gz';
}