You are here

public function LingotekInterface::set in Lingotek Translation 3.4.x

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

Set a setting value (and save).

Parameters

string $key: The key for the setting.

mixed $value: The value for the setting.

Deprecated

in lingotek:3.0.1 and is removed from lingotek:4.0.0. Use configuration or configuration services directly.

See also

\Drupal\lingotek\LingotekConfigurationServiceInterface

2 methods override LingotekInterface::set()
Lingotek::set in src/Lingotek.php
Set a setting value (and save).
LingotekFake::set in tests/modules/lingotek_test/src/LingotekFake.php
Set a setting value (and save).

File

src/LingotekInterface.php, line 76

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function set($key, $value);