You are here

public function WebformExporterBase::getBatchLimit in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformExporterBase.php \Drupal\webform\Plugin\WebformExporterBase::getBatchLimit()

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

Return value

int Number of submissions to be exported with each batch.

Overrides WebformExporterInterface::getBatchLimit

1 method overrides WebformExporterBase::getBatchLimit()
WebformEntityPrintWebformExporter::getBatchLimit in modules/webform_entity_print/src/Plugin/WebformExporter/WebformEntityPrintWebformExporter.php
Get the number of submissions to be exported with each batch.

File

src/Plugin/WebformExporterBase.php, line 326

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

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