public function LingotekContentTranslationServiceInterface::getTargetStatus in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
- 3.8.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatus()
Gets the translation status of a given entity translation for a locale.
Parameters
ContentEntityInterface &$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 LingotekContentTranslationServiceInterface::getTargetStatus()
- LingotekContentTranslationService::getTargetStatus in src/
LingotekContentTranslationService.php - Gets the translation status of a given entity translation for a locale.
File
- src/
LingotekContentTranslationServiceInterface.php, line 83 - Contains \Drupal\lingotek\LingotekContentTranslationServiceInterface.
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function getTargetStatus(ContentEntityInterface &$entity, $locale);