You are here

protected function LingotekManagementForm::createUploadBatch in Lingotek Translation 8

Create and set an upload batch.

Parameters

array $values: Array of ids to upload.

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

File

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

Class

LingotekManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function createUploadBatch($values) {
  $this
    ->createBatch('uploadDocument', $values, $this
    ->t('Uploading content to Lingotek service'));
}