You are here

protected function LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch in Lingotek Translation 3.2.x

Same name and namespace in other branches
  1. 8 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  2. 8.2 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  3. 4.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  4. 3.0.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  5. 3.1.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  6. 3.3.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  7. 3.4.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  8. 3.5.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  9. 3.6.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  10. 3.7.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
  11. 3.8.x src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()

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 LingotekConfigManagementForm::createLanguageTranslationCheckStatusBatch()
LingotekConfigManagementForm::submitForm in src/Form/LingotekConfigManagementForm.php
Form submission handler.

File

src/Form/LingotekConfigManagementForm.php, line 688

Class

LingotekConfigManagementForm
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);
}