public function WebformSubmissionExportImportImporterInterface::setSourceEntity in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_submission_export_import/src/WebformSubmissionExportImportImporterInterface.php \Drupal\webform_submission_export_import\WebformSubmissionExportImportImporterInterface::setSourceEntity()
Set the webform source entity whose submissions are being imported.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A webform's source entity.
1 method overrides WebformSubmissionExportImportImporterInterface::setSourceEntity()
- WebformSubmissionExportImportImporter::setSourceEntity in modules/
webform_submission_export_import/ src/ WebformSubmissionExportImportImporter.php - Set the webform source entity whose submissions are being imported.
File
- modules/
webform_submission_export_import/ src/ WebformSubmissionExportImportImporterInterface.php, line 36
Class
- WebformSubmissionExportImportImporterInterface
- Defines an interface for exporting webform submission results.
Namespace
Drupal\webform_submission_export_importCode
public function setSourceEntity(EntityInterface $entity = NULL);