You are here

public function YamlFormRating::getDefaultFormat in YAML Form 8

Get an element's default format name.

Return value

string An element's default format name.

Overrides YamlFormElementBase::getDefaultFormat

File

src/Plugin/YamlFormElement/YamlFormRating.php, line 78

Class

YamlFormRating
Provides a 'rating' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultFormat() {
  return 'star';
}