You are here

protected function WebformSubmissionExportImportWebformExporter::getImporter in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_submission_export_import/src/Plugin/WebformExporter/WebformSubmissionExportImportWebformExporter.php \Drupal\webform_submission_export_import\Plugin\WebformExporter\WebformSubmissionExportImportWebformExporter::getImporter()

Get the submission importer.

Return value

\Drupal\webform_submission_export_import\WebformSubmissionExportImportImporterInterface The submission importer.

File

modules/webform_submission_export_import/src/Plugin/WebformExporter/WebformSubmissionExportImportWebformExporter.php, line 101

Class

WebformSubmissionExportImportWebformExporter
Defines a machine readable CSV export that can be imported back into the current webform.

Namespace

Drupal\webform_submission_export_import\Plugin\WebformExporter

Code

protected function getImporter() {
  $this->importer
    ->setWebform($this
    ->getWebform());
  return $this->importer;
}