public function OptionsBase::getExportDefaultOptions in YAML Form 8
Get an element's default export options.
Return value
array An associative array containing an element's default export options.
Overrides YamlFormElementBase::getExportDefaultOptions
File
- src/
Plugin/ YamlFormElement/ OptionsBase.php, line 304
Class
- OptionsBase
- Provides a base 'options' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getExportDefaultOptions() {
return [
'options_format' => 'compact',
'options_item_format' => 'label',
];
}