protected function LingotekConfigManagementForm::createDownloadBatch in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 4.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.1.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.2.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.3.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.4.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.5.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.6.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.7.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
- 3.8.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDownloadBatch()
Create and set a request target and download batch for all languages.
Parameters
array $values: Array of ids to upload.
1 call to LingotekConfigManagementForm::createDownloadBatch()
- LingotekConfigManagementForm::submitForm in src/Form/ LingotekConfigManagementForm.php 
- Form submission handler.
File
- src/Form/ LingotekConfigManagementForm.php, line 533 
- Contains \Drupal\Lingotek\Form\LingotekConfigManagementForm.
Class
- LingotekConfigManagementForm
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function createDownloadBatch($values) {
  $this
    ->createBatch('downloadTranslations', $values, $this
    ->t('Downloading translations from the Lingotek service.'));
}