You are here

public function LingotekContentTranslationServiceInterface::deleteMetadata in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  2. 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  3. 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  4. 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  5. 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  6. 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  7. 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  8. 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  9. 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  10. 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()
  11. 3.8.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::deleteMetadata()

Deletes all local metadata related to an entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which we want to forget about.

Return value

\Drupal\Core\Entity\ContentEntityInterface The entity.

1 method overrides LingotekContentTranslationServiceInterface::deleteMetadata()
LingotekContentTranslationService::deleteMetadata in src/LingotekContentTranslationService.php
Deletes all local metadata related to an entity.

File

src/LingotekContentTranslationServiceInterface.php, line 319

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function deleteMetadata(ContentEntityInterface &$entity);