public function LingotekContentTranslationServiceInterface::deleteDocument in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteDocument()
Deletes a document from the server and all related local data.
Parameters
\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which we want to delete.
Return value
ContentEntityInterface The entity.
1 method overrides LingotekContentTranslationServiceInterface::deleteDocument()
- LingotekContentTranslationService::deleteDocument in src/
LingotekContentTranslationService.php - Deletes a document from the server and all related local data.
File
- src/
LingotekContentTranslationServiceInterface.php, line 253 - Contains \Drupal\lingotek\LingotekContentTranslationServiceInterface.
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function deleteDocument(ContentEntityInterface &$entity);