You are here

public function YamlFormSubmissionExporter::getBatchLimit in YAML Form 8

Get the number of submissions to be exported with each batch.

Return value

int Number of submissions to be exported with each batch.

Overrides YamlFormSubmissionExporterInterface::getBatchLimit

2 calls to YamlFormSubmissionExporter::getBatchLimit()
YamlFormSubmissionExporter::isBatch in src/YamlFormSubmissionExporter.php
Determine if export needs to use batch processing.
YamlFormSubmissionExporter::requiresBatch in src/YamlFormSubmissionExporter.php
Determine if form submissions must be exported using batch processing.

File

src/YamlFormSubmissionExporter.php, line 826

Class

YamlFormSubmissionExporter
Form submission exporter.

Namespace

Drupal\yamlform

Code

public function getBatchLimit() {
  return $this->configFactory
    ->get('yamlform.settings')
    ->get('batch.default_batch_export_size') ?: 500;
}