public function WebformSubmissionExportImportImporter::setWebform in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_submission_export_import/src/WebformSubmissionExportImportImporter.php \Drupal\webform_submission_export_import\WebformSubmissionExportImportImporter::setWebform()
Set the webform whose submissions are being imported.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
Overrides WebformSubmissionExportImportImporterInterface::setWebform
File
- modules/
webform_submission_export_import/ src/ WebformSubmissionExportImportImporter.php, line 149
Class
- WebformSubmissionExportImportImporter
- Webform submission export import manager.
Namespace
Drupal\webform_submission_export_importCode
public function setWebform(WebformInterface $webform = NULL) {
$this->webform = $webform;
$this->elementTypes = NULL;
}