public function YamlFormSubmission::getTokenUrl in YAML Form 8
Gets the form submission's secure tokenized URL.
Return value
\Drupal\Core\Url The the form submission's secure tokenized URL.
Overrides YamlFormSubmissionInterface::getTokenUrl
File
- src/
Entity/ YamlFormSubmission.php, line 421
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function getTokenUrl() {
return $this
->getSourceUrl()
->setOption('query', [
'token' => $this->token->value,
]);
}