public function LingotekContentTranslationServiceInterface::cancelDocumentTarget in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::cancelDocumentTarget()
- 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 319
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function cancelDocumentTarget(ContentEntityInterface &$entity, $locale);