public function Telephone::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/ Telephone.php, line 47
Class
- Telephone
- Provides a 'tel' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultFormat() {
return 'link';
}