You are here

public function YamlFormExporterBase::getFileExtension in YAML Form 8

Get export file extension.

Return value

string A file extension.

Overrides YamlFormExporterInterface::getFileExtension

1 call to YamlFormExporterBase::getFileExtension()
YamlFormExporterBase::getExportFileName in src/YamlFormExporterBase.php
Get export file name.
2 methods override YamlFormExporterBase::getFileExtension()
DelimitedYamlFormExporter::getFileExtension in src/Plugin/YamlFormExporter/DelimitedYamlFormExporter.php
Get export file extension.
TableYamlFormExporter::getFileExtension in src/Plugin/YamlFormExporter/TableYamlFormExporter.php
Get export file extension.

File

src/YamlFormExporterBase.php, line 253

Class

YamlFormExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\yamlform

Code

public function getFileExtension() {
  return 'txt';
}