You are here

public function LingotekInterfaceTranslationServiceInterface::getSourceData in Lingotek Translation 3.8.x

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

Returns the source data that will be uploaded to the Lingotek service.

Only those fields that have actual translatable text, and have marked for upload will be included.

Parameters

string $component: The component which we want the source data.

Return value

array

1 method overrides LingotekInterfaceTranslationServiceInterface::getSourceData()
LingotekInterfaceTranslationService::getSourceData in src/LingotekInterfaceTranslationService.php
Returns the source data that will be uploaded to the Lingotek service.

File

src/LingotekInterfaceTranslationServiceInterface.php, line 172

Class

LingotekInterfaceTranslationServiceInterface
Service for managing Lingotek interface translations.

Namespace

Drupal\lingotek

Code

public function getSourceData($component);