You are here

public function LingotekInterface::deleteDocument in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 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.

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 123

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function deleteDocument($doc_id);