You are here

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\yamlform

Code

public function setSourceEntity(EntityInterface $entity = NULL);