You are here

public function YamlFormSubmission::setOriginalData in YAML Form 8

Set the form submission's original data.

Parameters

array $data: The form submission data.

Return value

$this

Overrides YamlFormSubmissionInterface::setOriginalData

File

src/Entity/YamlFormSubmission.php, line 364

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function setOriginalData(array $data) {
  $this->originalData = $data;
  return $this;
}