You are here

public function LingotekConfigurationServiceInterface::setPreference in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  2. 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  3. 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  4. 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  5. 3.2.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  6. 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  7. 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setPreference()
  8. 3.5.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 277
Contains \Drupal\lingotek\LingotekConfigurationServiceInterface

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

public function setPreference($preference_id, $value);