You are here

public function YamlFormEntityReferenceTrait::getDefaultFormat in YAML Form 8

File

src/Plugin/YamlFormElement/YamlFormEntityReferenceTrait.php, line 101

Class

YamlFormEntityReferenceTrait
Provides an 'entity_reference' trait.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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