You are here

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

Class

Password
Provides a 'password' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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