You are here

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

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

Sets the translation status 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 class constants.

Return value

\Drupal\Core\Config\ConfigEntityInterface

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

File

src/LingotekConfigTranslationServiceInterface.php, line 377

Class

LingotekConfigTranslationServiceInterface
Service for managing Lingotek configuration translations.

Namespace

Drupal\lingotek

Code

public function setConfigSourceStatus(ConfigNamesMapper $mapper, $status);