public function WebformSubmissionsDeleteFormBase::getBatchLimit in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformSubmissionsDeleteFormBase.php \Drupal\webform\Form\WebformSubmissionsDeleteFormBase::getBatchLimit()
Get the number of submissions to be deleted with each batch.
Return value
int Number of submissions to be deleted with each batch.
2 calls to WebformSubmissionsDeleteFormBase::getBatchLimit()
- WebformSubmissionsDeleteFormBase::batchProcess in src/
Form/ WebformSubmissionsDeleteFormBase.php - Batch API callback; Delete submissions.
- WebformSubmissionsDeleteFormBase::submitForm in src/
Form/ WebformSubmissionsDeleteFormBase.php - Form submission handler.
File
- src/
Form/ WebformSubmissionsDeleteFormBase.php, line 178
Class
- WebformSubmissionsDeleteFormBase
- Base webform for deleting webform submission.
Namespace
Drupal\webform\FormCode
public function getBatchLimit() {
return $this
->config('webform.settings')
->get('batch.default_batch_delete_size') ?: $this->batchLimit;
}