You are here

protected function LingotekConfigManagementForm::createRequestTranslationsBatch in Lingotek Translation 3.8.x

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

Create and set a request translations batch for all languages.

Parameters

array $values: Array of ids to upload.

1 call to LingotekConfigManagementForm::createRequestTranslationsBatch()
LingotekConfigManagementForm::submitForm in src/Form/LingotekConfigManagementForm.php
Form submission handler.

File

src/Form/LingotekConfigManagementForm.php, line 656

Class

LingotekConfigManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function createRequestTranslationsBatch($values) {
  $this
    ->createBatch('requestTranslations', $values, $this
    ->t('Requesting translations to Lingotek service.'));
}