public function WebformSubmissionStorageInterface::loadDraft in Webform 6.x
Same name and namespace in other branches
- 8.5 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 583
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function loadDraft(WebformInterface $webform, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);