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