public function YamlFormLikert::getDefaultFormat in YAML Form 8
Get an element's default format name.
Return value
string An element's default format name.
Overrides YamlFormElementBase::getDefaultFormat
1 call to YamlFormLikert::getDefaultFormat()
- YamlFormLikert::getDefaultProperties in src/
Plugin/ YamlFormElement/ YamlFormLikert.php - Only a few elements don't inherit these default properties.
File
- src/
Plugin/ YamlFormElement/ YamlFormLikert.php, line 250
Class
- YamlFormLikert
- Provides a 'likert' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultFormat() {
return 'list';
}