You are here

public function YamlFormSubmissionExporter::setYamlFormOptions in YAML Form 8

Set export options for the current form and entity.

Parameters

array $options: Export options.

Overrides YamlFormSubmissionExporterInterface::setYamlFormOptions

File

src/YamlFormSubmissionExporter.php, line 167

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function setYamlFormOptions(array $options = []) {
  $name = $this
    ->getYamlFormOptionsName();
  $this
    ->getYamlForm()
    ->setState($name, $options);
}