You are here

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

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

Sets the translation status of all translations of a given component.

Parameters

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

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

Return value

string

1 method overrides LingotekInterfaceTranslationServiceInterface::setTargetStatuses()
LingotekInterfaceTranslationService::setTargetStatuses in src/LingotekInterfaceTranslationService.php
Sets the translation status of all translations of a given component.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 114

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function setTargetStatuses($component, $status);