You are here

public function YamlFormExporterBase::getArchiveFilePath in YAML Form 8

Get archive file name and path for a form.

Return value

string Archive file name and path for a form

Overrides YamlFormExporterInterface::getArchiveFilePath

2 calls to YamlFormExporterBase::getArchiveFilePath()
JsonYamlFormExporter::writeSubmission in src/Plugin/YamlFormExporter/JsonYamlFormExporter.php
Write submission to export.
YamlYamlFormExporter::writeSubmission in src/Plugin/YamlFormExporter/YamlYamlFormExporter.php
Write submission to export.

File

src/YamlFormExporterBase.php, line 288

Class

YamlFormExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\yamlform

Code

public function getArchiveFilePath() {
  return $this
    ->getFileTempDirectory() . '/' . $this
    ->getArchiveFileName();
}