You are here

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

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

Sets the translation status of a given component.

Parameters

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

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

Return value

string

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

File

src/LingotekInterfaceTranslationServiceInterface.php, line 42

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function setSourceStatus($component, $status);