public function WebformLikert::getExportDefaultOptions in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformLikert.php \Drupal\webform\Plugin\WebformElement\WebformLikert::getExportDefaultOptions()
Get an element's default export options.
Return value
array An associative array containing an element's default export options.
Overrides WebformElementBase::getExportDefaultOptions
File
- src/
Plugin/ WebformElement/ WebformLikert.php, line 226
Class
- WebformLikert
- Provides a 'likert' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getExportDefaultOptions() {
return [
'likert_answers_format' => 'label',
];
}