public function WebformExporterBase::getFileTempDirectory in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformExporterBase.php \Drupal\webform\Plugin\WebformExporterBase::getFileTempDirectory()
Get export file temp directory.
Return value
string The export file temp directory.
Overrides WebformExporterInterface::getFileTempDirectory
2 calls to WebformExporterBase::getFileTempDirectory()
- WebformExporterBase::getArchiveFilePath in src/
Plugin/ WebformExporterBase.php - Get archive file name and path for a webform.
- WebformExporterBase::getExportFilePath in src/
Plugin/ WebformExporterBase.php - Get export file path.
File
- src/
Plugin/ WebformExporterBase.php, line 219
Class
- WebformExporterBase
- Provides a base class for a results exporter.
Namespace
Drupal\webform\PluginCode
public function getFileTempDirectory() {
return $this->configFactory
->get('webform.settings')
->get('export.temp_directory') ?: \Drupal::service('file_system')
->getTempDirectory();
}