You are here

public function WebformSubmissionExporter::getFileTempDirectory in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 1124

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();
}