You are here

public function YamlFormSubmissionExporter::setYamlForm in YAML Form 8

Set the form whose submissions are being exported.

Parameters

\Drupal\yamlform\YamlFormInterface $yamlform: A form.

Overrides YamlFormSubmissionExporterInterface::setYamlForm

File

src/YamlFormSubmissionExporter.php, line 129

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function setYamlForm(YamlFormInterface $yamlform = NULL) {
  $this->yamlform = $yamlform;
  $this->defaultOptions = NULL;
  $this->elementTypes = NULL;
}