You are here

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\YamlFormElement

Code

public function prepare(array &$element, YamlFormSubmissionInterface $yamlform_submission) {
  YamlFormEntityTrait::setOptions($element);
  parent::prepare($element, $yamlform_submission);
}