You are here

public function WebformSubmissionStorageInterface::loadDraft in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::loadDraft()

Get webform submission draft.

Parameters

\Drupal\webform\WebformInterface|null $webform: A webform.

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

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

Return value

\Drupal\webform\WebformSubmissionInterface A webform submission.

1 method overrides WebformSubmissionStorageInterface::loadDraft()
WebformSubmissionStorage::loadDraft in src/WebformSubmissionStorage.php
Get webform submission draft.

File

src/WebformSubmissionStorageInterface.php, line 610

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

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