You are here

public function Email::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/Email.php, line 56

Class

Email
Provides a 'email' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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