public function TableYamlFormExporter::getFileExtension in YAML Form 8
Get export file extension.
Return value
string A file extension.
Overrides YamlFormExporterBase::getFileExtension
File
- src/
Plugin/ YamlFormExporter/ TableYamlFormExporter.php, line 123
Class
- TableYamlFormExporter
- Defines a HTML table exporter.
Namespace
Drupal\yamlform\Plugin\YamlFormExporterCode
public function getFileExtension() {
return $this->configuration['excel'] ? 'xls' : 'html';
}