You are here

public function WebformExporterBase::getExportFileName in Webform 8.5

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

Get export file name.

Return value

string A file name.

Overrides WebformExporterInterface::getExportFileName

1 call to WebformExporterBase::getExportFileName()
WebformExporterBase::getExportFilePath in src/Plugin/WebformExporterBase.php
Get export file path.

File

src/Plugin/WebformExporterBase.php, line 308

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

public function getExportFileName() {
  return $this
    ->getBaseFileName() . '.' . $this
    ->getFileExtension();
}