You are here

public function LingotekInterface::deleteDocument in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::deleteDocument()

Deletes 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 deleted. FALSE if not.

Deprecated

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

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

File

src/LingotekInterface.php, line 183

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function deleteDocument($doc_id);