public function WebformSubmissionExporter::getTotal in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionExporter.php \Drupal\webform\WebformSubmissionExporter::getTotal()
Total number of submissions to be exported.
Return value
int The total number of submissions to be exported.
Overrides WebformSubmissionExporterInterface::getTotal
1 call to WebformSubmissionExporter::getTotal()
- WebformSubmissionExporter::isBatch in src/
WebformSubmissionExporter.php - Determine if export needs to use batch processing.
File
- src/
WebformSubmissionExporter.php, line 997
Class
- WebformSubmissionExporter
- Webform submission exporter.
Namespace
Drupal\webformCode
public function getTotal() {
return $this
->getQuery()
->count()
->execute();
}