You are here

public function YamlFormSubmission::getToken in YAML Form 8

Gets the form submission's token.

Return value

array The form submission data.

Overrides YamlFormSubmissionInterface::getToken

File

src/Entity/YamlFormSubmission.php, line 372

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function getToken() {
  return $this->token->value;
}