You are here

public function YamlFormCompositeBase::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/YamlFormCompositeBase.php, line 521

Class

YamlFormCompositeBase
Provides a base for composite elements.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getExportDefaultOptions() {
  return [
    'composite_element_item_format' => 'label',
  ];
}