You are here

public function LingotekConfigTranslationServiceInterface::checkTargetStatus in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  2. 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  3. 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  4. 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  5. 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  6. 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  7. 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  8. 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  9. 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  10. 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()
  11. 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::checkTargetStatus()

Checks the status of the translation in the Lingotek service.

Parameters

\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity which status we want to check.

string $locale: Lingotek translation language which we want to download.

Return value

bool True if the entity is checked successfully.

1 method overrides LingotekConfigTranslationServiceInterface::checkTargetStatus()
LingotekConfigTranslationService::checkTargetStatus in src/LingotekConfigTranslationService.php
Checks the status of the translation in the Lingotek service.

File

src/LingotekConfigTranslationServiceInterface.php, line 274

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function checkTargetStatus(ConfigEntityInterface &$entity, $locale);