public function LingotekInterfaceTranslationServiceInterface::setTargetStatus in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 3.2.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 3.3.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 3.5.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 3.6.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 3.7.x src/LingotekInterfaceTranslationServiceInterface.php \Drupal\lingotek\LingotekInterfaceTranslationServiceInterface::setTargetStatus()
- 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\lingotekCode
public function setTargetStatus($component, $langcode, $status);