You are here

public function YamlFormSubmissionStorageInterface::getTotal in YAML Form 8

Get the total number of submissions.

Parameters

\Drupal\yamlform\YamlFormInterface|null $yamlform: (optional) A form. If set the total number of submissions for the Form will be returned.

\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A form submission source entity.

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

Return value

int Total number of submissions.

1 method overrides YamlFormSubmissionStorageInterface::getTotal()
YamlFormSubmissionStorage::getTotal in src/YamlFormSubmissionStorage.php
Get the total number of submissions.

File

src/YamlFormSubmissionStorageInterface.php, line 90

Class

YamlFormSubmissionStorageInterface
Defines an interface for form submission classes.

Namespace

Drupal\yamlform

Code

public function getTotal(YamlFormInterface $yamlform = NULL, EntityInterface $source_entity = NULL, AccountInterface $account = NULL);