public function LingotekContentTranslationServiceInterface::getTargetStatuses in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
- 3.8.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
Gets the translation statuses of a given entity translation for all locales.
Parameters
\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which status we want to get.
Return value
array The statuses of the target translation keyed by langcode (see Lingotek class constants for the values)
1 method overrides LingotekContentTranslationServiceInterface::getTargetStatuses()
- LingotekContentTranslationService::getTargetStatuses in src/
LingotekContentTranslationService.php - Gets the translation statuses of a given entity translation for all locales.
File
- src/
LingotekContentTranslationServiceInterface.php, line 89
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function getTargetStatuses(ContentEntityInterface &$entity);