You are here

protected function LingotekConfigManagementForm::createChangeProfileBatch in Lingotek Translation 3.4.x

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

Create and set a profile change batch.

Parameters

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

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

File

src/Form/LingotekConfigManagementForm.php, line 742

Class

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