public function LingotekConfigTranslationServiceInterface::getTargetStatus in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.4.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::getTargetStatus()
- 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\lingotekCode
public function getTargetStatus(ConfigEntityInterface &$entity, $locale);