You are here

public function YamlFormSubmissionExporter::isBatch in YAML Form 8

Determine if export needs to use batch processing.

Return value

bool TRUE if export needs to use batch processing.

Overrides YamlFormSubmissionExporterInterface::isBatch

File

src/YamlFormSubmissionExporter.php, line 902

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function isBatch() {
  return $this
    ->isArchive() || $this
    ->getTotal() >= $this
    ->getBatchLimit();
}