public function YamlFormSubmissionExporterInterface::setSourceEntity in YAML Form 8
Set the form source entity whose submissions are being exported.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A form's source entity.
1 method overrides YamlFormSubmissionExporterInterface::setSourceEntity()
- YamlFormSubmissionExporter::setSourceEntity in src/
YamlFormSubmissionExporter.php - Set the form source entity whose submissions are being exported.
File
- src/
YamlFormSubmissionExporterInterface.php, line 35
Class
- YamlFormSubmissionExporterInterface
- Defines an interface for exporting form submission results.
Namespace
Drupal\yamlformCode
public function setSourceEntity(EntityInterface $entity = NULL);