protected function LingotekManagementForm::createLanguageDownloadBatch in Lingotek Translation 8
Create and set a request target and download batch for a given language.
Parameters
array $values: Array of ids to upload.
string $language: Language code for the request.
1 call to LingotekManagementForm::createLanguageDownloadBatch()
- LingotekManagementForm::submitForm in src/
Form/ LingotekManagementForm.php - Form submission handler.
File
- src/
Form/ LingotekManagementForm.php, line 631 - Contains \Drupal\Lingotek\Form\LingotekManagementForm.
Class
- LingotekManagementForm
- Form for bulk management of content.
Namespace
Drupal\lingotek\FormCode
protected function createLanguageDownloadBatch($values, $language) {
$this
->createBatch('downloadTranslation', $values, $this
->t('Requesting translations to Lingotek service'), $language);
}