public function LingotekConfigTranslationServiceInterface::setSourceStatus in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setSourceStatus()
- 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.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
\Drupal\Core\Config\ConfigEntityInterface &$entity: The entity which status we want to change.
int $status: Status of the translation. Use Lingotek class constants.
Return value
\Drupal\Core\Config\ConfigEntityInterface
1 method overrides LingotekConfigTranslationServiceInterface::setSourceStatus()
- LingotekConfigTranslationService::setSourceStatus in src/
LingotekConfigTranslationService.php - Sets the translation status of a given entity.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 98
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function setSourceStatus(ConfigEntityInterface &$entity, $status);