You are here

public function LingotekManagementFormBase::disassociate in Lingotek Translation 8.2

Disassociate the content from Lingotek.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity.

Deprecated

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

File

src/Form/LingotekManagementFormBase.php, line 1328

Class

LingotekManagementFormBase
Form for bulk management of content.

Namespace

Drupal\lingotek\Form

Code

public function disassociate(ContentEntityInterface $entity, $language, $job_id, &$context) {
  return $this
    ->cancel($entity, $language, $job_id, $context);
}