You are here

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

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

Save the component translation.

Parameters

string $component: The component we want to save a translation for.

$locale: The locale of the translation being saved.

$data: The data being saved.

Return value

string Returns the component which translations are saved.

1 method overrides LingotekInterfaceTranslationServiceInterface::saveTargetData()
LingotekInterfaceTranslationService::saveTargetData in src/LingotekInterfaceTranslationService.php
Save the component translation.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 355

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function saveTargetData($component, $locale, $data);