public function YamlFormSubmissionsDeleteFormBase::getBatchLimit in YAML Form 8
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 YamlFormSubmissionsDeleteFormBase::getBatchLimit()
- YamlFormSubmissionsDeleteFormBase::batchProcess in src/
Form/ YamlFormSubmissionsDeleteFormBase.php - Batch API callback; Delete submissions.
- YamlFormSubmissionsDeleteFormBase::submitForm in src/
Form/ YamlFormSubmissionsDeleteFormBase.php - Form submission handler.
File
- src/
Form/ YamlFormSubmissionsDeleteFormBase.php, line 148
Class
- YamlFormSubmissionsDeleteFormBase
- Base form for deleting form submission.
Namespace
Drupal\yamlform\FormCode
public function getBatchLimit() {
return $this
->config('yamlform.settings')
->get('batch.default_batch_delete_size') ?: $this->batchLimit;
}