You are here

protected function LingotekManagementForm::createRequestTranslationsBatch in Lingotek Translation 8

Create and set a request translations batch for all languages.

Parameters

array $values: Array of ids to upload.

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

File

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

Class

LingotekManagementForm
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.'));
}