You are here

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

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

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.

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

int $status: Status of the translation. Use Lingotek constants.

Return value

\Drupal\Core\Config\ConfigEntityInterface

1 method overrides LingotekConfigTranslationServiceInterface::setConfigTargetStatus()
LingotekConfigTranslationService::setConfigTargetStatus in src/LingotekConfigTranslationService.php
Sets the translation status of all translations of a given entity.

File

src/LingotekConfigTranslationServiceInterface.php, line 415

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function setConfigTargetStatus(ConfigNamesMapper $mapper, $locale, $status);