You are here

public function LingotekConfigurationServiceInterface::setPreference in Lingotek Translation 3.5.x

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

Sets the value for the preferences configuration.

Parameters

string $preference_id: The preference ID.

mixed $value: The preference value.

1 method overrides LingotekConfigurationServiceInterface::setPreference()
LingotekConfigurationService::setPreference in src/LingotekConfigurationService.php
Sets the value for the preferences configuration.

File

src/LingotekConfigurationServiceInterface.php, line 266

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

public function setPreference($preference_id, $value);