public function WebformSubmissionStorageInterface::getMaxSubmissionId in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::getMaxSubmissionId()
Get the maximum sid.
Parameters
\Drupal\webform\WebformInterface|null $webform: (optional) A webform. If set the total number of submissions for the Webform will be returned.
\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A webform submission source entity.
\Drupal\Core\Session\AccountInterface|null $account: (optional) A user account.
Return value
int Total number of submissions.
1 method overrides WebformSubmissionStorageInterface::getMaxSubmissionId()
- WebformSubmissionStorage::getMaxSubmissionId in src/
WebformSubmissionStorage.php - Get the maximum sid.
File
- src/
WebformSubmissionStorageInterface.php, line 162
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function getMaxSubmissionId(WebformInterface $webform = NULL, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);