You are here

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

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

Cancels the document with this document id from the Lingotek service.

Parameters

string $doc_id: The document id in Lingotek.

Return value

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

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

File

src/LingotekInterface.php, line 345

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function cancelDocument($doc_id);