public function LingotekInterface::cancelDocumentTarget in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::cancelDocumentTarget()
- 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
Namespace
Drupal\lingotekCode
public function cancelDocumentTarget($doc_id, $locale);