protected function LingotekManagementForm::createDownloadBatch in Lingotek Translation 8
Create and set a request target and download batch for all languages.
Parameters
array $values: Array of ids to upload.
1 call to LingotekManagementForm::createDownloadBatch()
- LingotekManagementForm::submitForm in src/
Form/ LingotekManagementForm.php - Form submission handler.
File
- src/
Form/ LingotekManagementForm.php, line 619 - Contains \Drupal\Lingotek\Form\LingotekManagementForm.
Class
- LingotekManagementForm
- 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.'));
}