You are here

public function YamlFormSubmissionStorageInterface::deleteAll in YAML Form 8

Delete all form submissions.

Parameters

\Drupal\yamlform\YamlFormInterface|null $yamlform: (optional) The form to delete the submissions from.

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

int $limit: (optional) Number of submissions to be deleted.

int $max_sid: (optional) Maximum form submission id.

Return value

int The number of form submissions deleted.

1 method overrides YamlFormSubmissionStorageInterface::deleteAll()
YamlFormSubmissionStorage::deleteAll in src/YamlFormSubmissionStorage.php
Delete all form submissions.

File

src/YamlFormSubmissionStorageInterface.php, line 59

Class

YamlFormSubmissionStorageInterface
Defines an interface for form submission classes.

Namespace

Drupal\yamlform

Code

public function deleteAll(YamlFormInterface $yamlform = NULL, EntityInterface $source_entity = NULL, $limit = NULL, $max_sid = NULL);