You are here

public function LingotekConfigTranslationServiceInterface::deleteDocument in Lingotek Translation 8

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

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 290
Contains \Drupal\lingotek\LingotekConfigTranslationServiceInterface.

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function deleteDocument(ConfigEntityInterface &$entity);