You are here

protected function LingotekConfigManagementForm::createDisassociateBatch in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 8 src/Form/LingotekConfigManagementForm.php \Drupal\lingotek\Form\LingotekConfigManagementForm::createDisassociateBatch()

Create and set a disassociate batch.

Parameters

array $values: Array of ids to disassociate.

Deprecated

in 8.x-2.14, will be removed in 8.x-2.16. Use ::createCancelBatch instead.

File

src/Form/LingotekConfigManagementForm.php, line 714

Class

LingotekConfigManagementForm
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

protected function createDisassociateBatch($values) {
  $this
    ->createBatch('disassociate', $values, $this
    ->t('Disassociating content from Lingotek service'));
}