You are here

public function LingotekContentTranslationServiceInterface::getTargetStatuses in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  2. 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  3. 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  4. 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  5. 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  6. 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  7. 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  8. 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  9. 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::getTargetStatuses()
  10. 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 90

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function getTargetStatuses(ContentEntityInterface &$entity);