You are here

public function YamlFormSubmissionExporter::requiresBatch in YAML Form 8

Determine if form submissions must be exported using batch processing.

Return value

bool TRUE if form submissions must be exported using batch processing.

Overrides YamlFormSubmissionExporterInterface::requiresBatch

1 call to YamlFormSubmissionExporter::requiresBatch()
YamlFormSubmissionExporter::buildExportOptionsForm in src/YamlFormSubmissionExporter.php
Build export options form.

File

src/YamlFormSubmissionExporter.php, line 833

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function requiresBatch() {
  return $this
    ->getTotal() > $this
    ->getBatchLimit() ? TRUE : FALSE;
}