You are here

protected function LingotekConfigManagementForm::createDisassociateBatch in Lingotek Translation 8

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

Create and set a disassociate batch.

Parameters

array $values: Array of ids to disassociate.

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

File

src/Form/LingotekConfigManagementForm.php, line 555
Contains \Drupal\Lingotek\Form\LingotekConfigManagementForm.

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