public function YamlFormSubmission::setData in YAML Form 8
Set the form submission's data.
Parameters
array $data: The form submission data.
Overrides YamlFormSubmissionInterface::setData
File
- src/
Entity/ YamlFormSubmission.php, line 344
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function setData(array $data) {
$this->data = $data;
return $this;
}