You are here

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

Class

YamlFormLikert
Provides a 'likert' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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