You are here

public function WebformSubmissionStorageInterface::loadFromToken in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::loadFromToken()

Load submission using webform (secure) token.

Parameters

string $token: The submission (secure) token.

\Drupal\webform\WebformInterface $webform: The webform that the submission token is associated with.

\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A webform submission source entity.

\Drupal\Core\Session\AccountInterface|null $account: (optional) A user account.

Return value

\Drupal\webform\WebformSubmissionInterface|null A webform submission.

1 method overrides WebformSubmissionStorageInterface::loadFromToken()
WebformSubmissionStorage::loadFromToken in src/WebformSubmissionStorage.php
Load submission using webform (secure) token.

File

src/WebformSubmissionStorageInterface.php, line 108

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function loadFromToken($token, WebformInterface $webform, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);