public function LingotekFake::getEditable in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 4.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.1.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.2.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.4.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.5.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.6.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.7.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
- 3.8.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
Gets data from the mutable configuration object. Returns an mutable configuration object for a given name.
Should not be used for config that will have runtime effects. Therefore it is always loaded override free.
Parameters
string $key: A string that maps to a key within the configuration data.
Return value
mixed The data that was requested.
Overrides LingotekInterface::getEditable
Deprecated
in lingotek:3.0.1 and is removed from lingotek:4.0.0. Use configuration or configuration services directly.
See also
::get
\Drupal\lingotek\LingotekConfigurationServiceInterface
File
- tests/
modules/ lingotek_test/ src/ LingotekFake.php, line 37
Class
Namespace
Drupal\lingotek_testCode
public function getEditable($key) {
throw new \Exception('This method is deprecated, so should never be called from our own code.');
}