You are here

public function OptionsBase::getDefaultFormat in YAML Form 8

Get an element's default format name.

Return value

string An element's default format name.

Overrides YamlFormElementBase::getDefaultFormat

2 methods override OptionsBase::getDefaultFormat()
YamlFormTableSelectSort::getDefaultFormat in src/Plugin/YamlFormElement/YamlFormTableSelectSort.php
Get an element's default format name.
YamlFormTableSort::getDefaultFormat in src/Plugin/YamlFormElement/YamlFormTableSort.php
Get an element's default format name.

File

src/Plugin/YamlFormElement/OptionsBase.php, line 274

Class

OptionsBase
Provides a base 'options' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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