You are here

public function YamlFormSubmissionInterface::getOriginalData in YAML Form 8

Gets the form submission's original data before any changes..

Parameters

string $key: A string that maps to a key in the submission's original data. If no key is specified, then the entire data array is returned.

Return value

array The form submission original data.

1 method overrides YamlFormSubmissionInterface::getOriginalData()
YamlFormSubmission::getOriginalData in src/Entity/YamlFormSubmission.php
Gets the form submission's original data before any changes..

File

src/YamlFormSubmissionInterface.php, line 246

Class

YamlFormSubmissionInterface
Provides an interface defining a form submission entity.

Namespace

Drupal\yamlform

Code

public function getOriginalData($key = NULL);