You are here

public function LingotekConfigTranslationServiceInterface::getTargetStatus in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  2. 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  3. 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  4. 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  5. 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  6. 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  7. 3.4.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  8. 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  9. 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  10. 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
  11. 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()

Gets the translation status of a given entity translation for a locale.

Parameters

ConfigEntityInterface &$entity: The entity which status we want to get.

string $locale: Lingotek translation language which we want to get.

Return value

int The status of the target translation (see Lingotek class constants)

1 method overrides LingotekConfigTranslationServiceInterface::getTargetStatus()
LingotekConfigTranslationService::getTargetStatus in src/LingotekConfigTranslationService.php
Gets the translation status of a given entity translation for a locale.

File

src/LingotekConfigTranslationServiceInterface.php, line 118
Contains \Drupal\lingotek\LingotekConfigTranslationServiceInterface.

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function getTargetStatus(ConfigEntityInterface &$entity, $locale);