public function YamlFormSubmissionInterface::getData in YAML Form 8
Gets the form submission's data.
Parameters
string $key: A string that maps to a key in the submission's data. If no key is specified, then the entire data array is returned.
Return value
array The form submission data.
1 method overrides YamlFormSubmissionInterface::getData()
- YamlFormSubmission::getData in src/
Entity/ YamlFormSubmission.php - Gets the form submission's data.
File
- src/
YamlFormSubmissionInterface.php, line 226
Class
- YamlFormSubmissionInterface
- Provides an interface defining a form submission entity.
Namespace
Drupal\yamlformCode
public function getData($key = NULL);