You are here

public function YamlFormElementInterface::buildExportHeader in YAML Form 8

Build an element's export header.

Parameters

array $element: An element.

array $options: An associative array of export options.

Return value

array An array containing the element's export headers.

See also

\Drupal\yamlform\YamlFormSubmissionExporterInterface::getDefaultExportOptions

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

File

src/YamlFormElementInterface.php, line 472

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function buildExportHeader(array $element, array $options);