public function YamlFormElementBase::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.
Overrides YamlFormElementInterface::buildExportOptionsForm
4 methods override YamlFormElementBase::buildExportOptionsForm()
- OptionsBase::buildExportOptionsForm in src/
Plugin/ YamlFormElement/ OptionsBase.php - Get an element's export options form.
- YamlFormCompositeBase::buildExportOptionsForm in src/
Plugin/ YamlFormElement/ YamlFormCompositeBase.php - Get an element's export options form.
- YamlFormLikert::buildExportOptionsForm in src/
Plugin/ YamlFormElement/ YamlFormLikert.php - Get an element's export options form.
- YamlFormSignature::buildExportOptionsForm in src/
Plugin/ YamlFormElement/ YamlFormSignature.php - Get an element's export options form.
File
- src/
YamlFormElementBase.php, line 724
Class
- YamlFormElementBase
- Provides a base class for a form element.
Namespace
Drupal\yamlformCode
public function buildExportOptionsForm(array &$form, FormStateInterface $form_state, array $export_options) {
return [];
}