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