public function LingotekConfigTranslationService::deleteConfigDocument in Lingotek Translation 8.2
Same name and namespace in other branches
- 8 src/LingotekConfigTranslationService.php \Drupal\lingotek\LingotekConfigTranslationService::deleteConfigDocument()
Deletes a document from the server and all related local data.
Parameters
string $mapper_id: The entity being uploaded.
Overrides LingotekConfigTranslationServiceInterface::deleteConfigDocument
Deprecated
in 8.x-2.14, will be removed in 8.x-2.16. Use ::cancelConfigDocument instead.
File
- src/
LingotekConfigTranslationService.php, line 1420
Class
- LingotekConfigTranslationService
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function deleteConfigDocument($mapper_id) {
$mapper = $this->mappers[$mapper_id];
return $this->lingotek
->deleteDocument($this
->getConfigDocumentId($mapper));
}