You are here

protected function WebformEntityPrintWebformExporter::getExportTypeDefinition 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::getExportTypeDefinition()

Get export type definition.

Return value

array Export type definition.

1 call to WebformEntityPrintWebformExporter::getExportTypeDefinition()
WebformEntityPrintWebformExporter::getExportTypeFileExtension in modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php
Get export type file extension.

File

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

Class

WebformEntityPrintWebformExporter
Defines a Webform Entity Print PDF exporter.

Namespace

Drupal\webform_entity_print\Plugin\WebformExporter

Code

protected function getExportTypeDefinition() {
  $export_type_id = $this
    ->getExportTypeId();
  return $this->exportTypeManager
    ->getDefinition($export_type_id);
}