You are here

public function LingotekContentTranslationServiceInterface::cancelDocumentTarget in Lingotek Translation 3.6.x

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

Cancels a translation for a given entity in the given locale.

Parameters

\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which target we want to cancel.

string $locale: Lingotek translation language which we want to modify.

1 method overrides LingotekContentTranslationServiceInterface::cancelDocumentTarget()
LingotekContentTranslationService::cancelDocumentTarget in src/LingotekContentTranslationService.php
Cancels a translation for a given entity in the given locale.

File

src/LingotekContentTranslationServiceInterface.php, line 308

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function cancelDocumentTarget(ContentEntityInterface &$entity, $locale);