protected function LingotekConfigManagementForm::createDebugExportBatch in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 8.2 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 4.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.1.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.2.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.3.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.4.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.5.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.6.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
- 3.7.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDebugExportBatch()
Create and set an export batch.
Parameters
array $values: Array of ids to upload.
1 call to LingotekConfigManagementForm::createDebugExportBatch()
- LingotekConfigManagementForm::submitForm in src/
Form/ LingotekConfigManagementForm.php - Form submission handler.
File
- src/
Form/ LingotekConfigManagementForm.php, line 611
Class
- LingotekConfigManagementForm
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function createDebugExportBatch($values) {
$operations = $this
->generateOperations('debugExport', $values, NULL);
$batch = [
'title' => $this
->t('Exporting config entities (debugging purposes)'),
'operations' => $operations,
'finished' => [
$this,
'debugExportFinished',
],
'progressive' => TRUE,
];
batch_set($batch);
}