public function YamlFormEntityOptionsTrait::prepare in YAML Form 8
File
- src/
Plugin/ YamlFormElement/ YamlFormEntityOptionsTrait.php, line 30
Class
- YamlFormEntityOptionsTrait
- Provides an 'entity_reference' with options trait.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function prepare(array &$element, YamlFormSubmissionInterface $yamlform_submission) {
YamlFormEntityTrait::setOptions($element);
parent::prepare($element, $yamlform_submission);
}