public function YamlFormSubmissionStorageInterface::loadDraft in YAML Form 8
Get form submission draft.
Parameters
\Drupal\yamlform\YamlFormInterface|null $yamlform: A form.
\Drupal\Core\Entity\EntityInterface|null $source_entity: A form submission source entity.
\Drupal\Core\Session\AccountInterface|null $account: A user account.
Return value
\Drupal\yamlform\YamlFormSubmissionInterface A form submission.
1 method overrides YamlFormSubmissionStorageInterface::loadDraft()
- YamlFormSubmissionStorage::loadDraft in src/
YamlFormSubmissionStorage.php - Get form submission draft.
File
- src/
YamlFormSubmissionStorageInterface.php, line 74
Class
- YamlFormSubmissionStorageInterface
- Defines an interface for form submission classes.
Namespace
Drupal\yamlformCode
public function loadDraft(YamlFormInterface $yamlform, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);