public function LingotekContentTranslationServiceInterface::checkTargetStatus in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 8.2 src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 4.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.0.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.1.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.2.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.3.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.4.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.5.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.6.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
- 3.7.x src/LingotekContentTranslationServiceInterface.php \Drupal\lingotek\LingotekContentTranslationServiceInterface::checkTargetStatus()
Gets the current status of the target translation.
Parameters
\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which status we want to check.
string $langcode: Translation language we want to check.
Return value
bool True if the entity is uploaded succesfully.
Throws
\Drupal\lingotek\Exception\LingotekDocumentNotFoundException
1 method overrides LingotekContentTranslationServiceInterface::checkTargetStatus()
- LingotekContentTranslationService::checkTargetStatus in src/
LingotekContentTranslationService.php - Gets the current status of the target translation.
File
- src/
LingotekContentTranslationServiceInterface.php, line 69
Class
- LingotekContentTranslationServiceInterface
- Service for managing Lingotek content translations.
Namespace
Drupal\lingotekCode
public function checkTargetStatus(ContentEntityInterface &$entity, $langcode);