You are here

protected function LingotekManagementForm::createLanguageTranslationCheckStatusBatch in Lingotek Translation 8

Create and set a check translation status batch for a given language.

Parameters

array $values: Array of ids to upload.

string $language: Language code for the request.

1 call to LingotekManagementForm::createLanguageTranslationCheckStatusBatch()
LingotekManagementForm::submitForm in src/Form/LingotekManagementForm.php
Form submission handler.

File

src/Form/LingotekManagementForm.php, line 609
Contains \Drupal\Lingotek\Form\LingotekManagementForm.

Class

LingotekManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function createLanguageTranslationCheckStatusBatch($values, $language) {
  $this
    ->createBatch('checkTranslationStatus', $values, $this
    ->t('Checking translations status from the Lingotek service.'), $language);
}