You are here

public function LingotekConfigTranslationServiceInterface::deleteDocument in Lingotek Translation 8.2

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

Deletes a document from the server and all related local data.

Parameters

\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity which we want to delete.

Return value

ContentEntityInterface The entity.

Deprecated

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

1 method overrides LingotekConfigTranslationServiceInterface::deleteDocument()
LingotekConfigTranslationService::deleteDocument in src/LingotekConfigTranslationService.php
Deletes a document from the server and all related local data.

File

src/LingotekConfigTranslationServiceInterface.php, line 310

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function deleteDocument(ConfigEntityInterface &$entity);