public function WebformSubmission::getToken in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::getToken()
Gets the webform submission's token.
Return value
array The webform submission data.
Overrides WebformSubmissionInterface::getToken
1 call to WebformSubmission::getToken()
- WebformSubmission::getTokenUrl in src/
Entity/ WebformSubmission.php - Gets the webform submission's secure tokenized URL.
File
- src/
Entity/ WebformSubmission.php, line 504
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function getToken() {
return $this->token->value;
}