You are here

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

Class

YamlFormSignature
Provides a 'signature' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getExportDefaultOptions() {
  return [
    'signature_format' => 'status',
  ];
}