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