You are here

public function YamlFormSubmissionExporter::getYamlFormOptions in YAML Form 8

Get export options for the current form and entity.

Return value

array Export options.

Overrides YamlFormSubmissionExporterInterface::getYamlFormOptions

File

src/YamlFormSubmissionExporter.php, line 159

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function getYamlFormOptions() {
  $name = $this
    ->getYamlFormOptionsName();
  return $this
    ->getYamlForm()
    ->getState($name, []);
}