public function LingotekConfigTranslationServiceInterface::setSourceStatus in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.4.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
Sets the translation status of a given entity.
Parameters
ConfigEntityInterface &$entity: The entity which status we want to change.
int $status: Status of the translation. Use Lingotek class constants.
Return value
1 method overrides LingotekConfigTranslationServiceInterface::setSourceStatus()
- LingotekConfigTranslationService::setSourceStatus in src/
LingotekConfigTranslationService.php - Sets the translation status of a given entity.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 105 - Contains \Drupal\lingotek\LingotekConfigTranslationServiceInterface.
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function setSourceStatus(ConfigEntityInterface &$entity, $status);