public function YamlFormSubmissionStorageInterface::getPreviousSubmission in YAML Form 8
Get a form submission's previous sibling.
Parameters
\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.
\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 submission's previous sibling.
1 method overrides YamlFormSubmissionStorageInterface::getPreviousSubmission()
- YamlFormSubmissionStorage::getPreviousSubmission in src/
YamlFormSubmissionStorage.php - Get a form submission's previous sibling.
File
- src/
YamlFormSubmissionStorageInterface.php, line 151
Class
- YamlFormSubmissionStorageInterface
- Defines an interface for form submission classes.
Namespace
Drupal\yamlformCode
public function getPreviousSubmission(YamlFormSubmissionInterface $yamlform_submission, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);