public function WebformSubmissionStorageInterface::getFirstSubmission in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::getFirstSubmission()
Get a webform's first submission.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A webform submission source entity.
\Drupal\Core\Session\AccountInterface $account: The current user account.
array $options: (optional) Additional options and query conditions.
Return value
\Drupal\webform\WebformSubmissionInterface|null The webform's first submission.
1 method overrides WebformSubmissionStorageInterface::getFirstSubmission()
- WebformSubmissionStorage::getFirstSubmission in src/
WebformSubmissionStorage.php - Get a webform's first submission.
File
- src/
WebformSubmissionStorageInterface.php, line 261
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function getFirstSubmission(WebformInterface $webform, EntityInterface $source_entity = NULL, AccountInterface $account = NULL, array $options = []);