public function YamlFormEntityTrait::getInfo in YAML Form 8
File
- src/
Element/ YamlFormEntityTrait.php, line 16
Class
- YamlFormEntityTrait
- Trait for entity reference elements.
Namespace
Drupal\yamlform\ElementCode
public function getInfo() {
$info = parent::getInfo();
$info['#target_type'] = NULL;
$info['#selection_handler'] = 'default';
$info['#selection_settings'] = [];
return $info;
}