public function LingotekFake::getEditable in Lingotek Translation 8.2
Same name and namespace in other branches
- 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.3.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()
File
- tests/
modules/ lingotek_test/ src/ LingotekFake.php, line 94
Class
Namespace
Drupal\lingotek_testCode
public function getEditable($key) {
if (in_array($key, [
'default.community',
'default.project',
'default.value',
'default.workflow',
]) && ($output = $this->config
->getEditable($this::SETTINGS)
->get($key))) {
return $output;
}
return $this
->get($key);
}