You are here

public function LingotekInterfaceTranslationServiceInterface::setTargetStatus in Lingotek Translation 3.5.x

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

Sets the translation status of a given component translation for a locale.

Parameters

string $component: The component which status we want to change.

string $langcode: Language code which we want to modify.

int $status: Status of the translation. Use Lingotek constants.

Return value

string

1 method overrides LingotekInterfaceTranslationServiceInterface::setTargetStatus()
LingotekInterfaceTranslationService::setTargetStatus in src/LingotekInterfaceTranslationService.php
Sets the translation status of a given component translation for a locale.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 102

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function setTargetStatus($component, $langcode, $status);