You are here

protected function LingotekManagementForm::createChangeProfileBatch in Lingotek Translation 8

Create and set a profile change batch.

Parameters

array $values: Array of ids to change the Profile.

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

File

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

Class

LingotekManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function createChangeProfileBatch($values, $profile_id) {
  $this
    ->createBatch('changeProfile', $values, $this
    ->t('Updating Translation Profile'), $profile_id);
}