You are here

protected function WebformEntityPrintWebformExporter::getExportTypeFileExtension in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php \Drupal\webform_entity_print\Plugin\WebformExporter\WebformEntityPrintWebformExporter::getExportTypeFileExtension()

Get export type file extension.

Return value

string Export type file extension.

1 call to WebformEntityPrintWebformExporter::getExportTypeFileExtension()
WebformEntityPrintWebformExporter::writeSubmission in modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php
Write submission to export.

File

modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php, line 169

Class

WebformEntityPrintWebformExporter
Defines a Webform Entity Print PDF exporter.

Namespace

Drupal\webform_entity_print\Plugin\WebformExporter

Code

protected function getExportTypeFileExtension() {
  $definition = $this
    ->getExportTypeDefinition();
  return $definition['file_extension'];
}