You are here

public function LingotekInterface::cancelDocumentTarget in Lingotek Translation 3.4.x

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

Cancels the document target with this document id and locale from the Lingotek service.

Parameters

string $doc_id: The document id in Lingotek.

string $locale: The locale target we want to cancel the translation.

Return value

bool TRUE if the document target was successfully cancelled. FALSE if not.

2 methods override LingotekInterface::cancelDocumentTarget()
Lingotek::cancelDocumentTarget in src/Lingotek.php
Cancels the document target with this document id and locale from the Lingotek service.
LingotekFake::cancelDocumentTarget in tests/modules/lingotek_test/src/LingotekFake.php
Cancels the document target with this document id and locale from the Lingotek service.

File

src/LingotekInterface.php, line 358

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function cancelDocumentTarget($doc_id, $locale);