public function WebformRating::getItemDefaultFormat in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformRating.php \Drupal\webform\Plugin\WebformElement\WebformRating::getItemDefaultFormat()
Get an element's default single value format name.
Return value
string An element's default single value format name.
Overrides WebformElementBase::getItemDefaultFormat
File
- src/
Plugin/ WebformElement/ WebformRating.php, line 84
Class
- WebformRating
- Provides a 'rating' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getItemDefaultFormat() {
return 'star';
}