You are here

public function WebformExporterBase::getArchiveFilePath in Webform 8.5

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

Get archive file name and path for a webform.

Return value

string Archive file name and path for a form

Overrides WebformExporterInterface::getArchiveFilePath

2 calls to WebformExporterBase::getArchiveFilePath()
WebformExporterBase::addToTarArchive in src/Plugin/WebformExporterBase.php
Add file, directory, or content to Tar archive.
WebformExporterBase::addToZipFile in src/Plugin/WebformExporterBase.php
Add file, directory, or content to ZIP file.

File

src/Plugin/WebformExporterBase.php, line 322

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

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