public function LingotekInterface::set in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 8.2 src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 4.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.0.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.1.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.2.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.3.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.5.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.6.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::set()
- 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
Namespace
Drupal\lingotekCode
public function set($key, $value);