public function WebformSubmissionStorageInterface::deleteAll in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::deleteAll()
Delete all webform submissions.
Parameters
\Drupal\webform\WebformInterface|null $webform: (optional) The webform to delete the submissions from.
\Drupal\Core\Entity\EntityInterface|null $source_entity: (optional) A webform submission source entity.
int $limit: (optional) Number of submissions to be deleted.
int $max_sid: (optional) Maximum webform submission id.
Return value
int The number of webform submissions deleted.
1 method overrides WebformSubmissionStorageInterface::deleteAll()
- WebformSubmissionStorage::deleteAll in src/
WebformSubmissionStorage.php - Delete all webform submissions.
File
- src/
WebformSubmissionStorageInterface.php, line 125
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function deleteAll(WebformInterface $webform = NULL, EntityInterface $source_entity = NULL, $limit = NULL, $max_sid = NULL);