You are here

public function WebformSubmissionExporter::getFileTempDirectory in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::getFileTempDirectory()

Get export file temp directory path.

Return value

string Temp directory path.

Overrides WebformSubmissionExporterInterface::getFileTempDirectory

1 call to WebformSubmissionExporter::getFileTempDirectory()
WebformSubmissionExporter::writeExportToArchive in src/WebformSubmissionExporter.php
Write export file to Archive file.

File

src/WebformSubmissionExporter.php, line 1024

Class

WebformSubmissionExporter
Webform submission exporter.

Namespace

Drupal\webform

Code

public function getFileTempDirectory() {
  return $this->configFactory
    ->get('webform.settings')
    ->get('export.temp_directory') ?: $this->fileSystem
    ->getTempDirectory();
}