You are here

public function WebformSubmissionStorageInterface::getAnonymousSubmissionIds in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::getAnonymousSubmissionIds()

Get anonymous user's submission ids.

Parameters

\Drupal\Core\Session\AccountInterface|null $account: A user account.

Return value

array| A array of submission ids or NULL if the user us not anonymous or has not saved submissions.

1 method overrides WebformSubmissionStorageInterface::getAnonymousSubmissionIds()
WebformSubmissionStorage::getAnonymousSubmissionIds in src/WebformSubmissionStorage.php
Get anonymous user's submission ids.

File

src/WebformSubmissionStorageInterface.php, line 607

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function getAnonymousSubmissionIds(AccountInterface $account);