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\YamlFormElementCode
public function getExportDefaultOptions() {
return [
'likert_answers_format' => 'label',
];
}