You are here

public function YamlFormElementInterface::buildExportRecord in YAML Form 8

Build an element's export row.

Parameters

array $element: An element.

array $export_options: An associative array of export options.

Return value

array An array containing the element's export row.

See also

\Drupal\yamlform\YamlFormSubmissionExporterInterface::getDefaultExportOptions

1 method overrides YamlFormElementInterface::buildExportRecord()
YamlFormElementBase::buildExportRecord in src/YamlFormElementBase.php
Build an element's export row.

File

src/YamlFormElementInterface.php, line 487

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function buildExportRecord(array $element, $value, array $export_options);