You are here

public function YamlFormElementInterface::buildExportOptionsForm in YAML Form 8

Get an element's export options form.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

array $export_options: An associative array of default values.

Return value

array An associative array contain an element's export option form.

1 method overrides YamlFormElementInterface::buildExportOptionsForm()
YamlFormElementBase::buildExportOptionsForm in src/YamlFormElementBase.php
Get an element's export options form.

File

src/YamlFormElementInterface.php, line 444

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function buildExportOptionsForm(array &$form, FormStateInterface $form_state, array $export_options);