You are here

public function LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  2. 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  3. 3.4.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  4. 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  5. 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  6. 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
  7. 3.8.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()

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

Parameters

string $component: The component which target we want to cancel.

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

1 method overrides LingotekInterfaceTranslationServiceInterface::cancelDocumentTarget()
LingotekInterfaceTranslationService::cancelDocumentTarget in src/LingotekInterfaceTranslationService.php
Cancels a translation for a given component in the given locale.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 305

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function cancelDocumentTarget($component, $locale);