You are here

public function LingotekFake::getEditable in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8.2 tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  2. 4.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  3. 3.0.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  4. 3.1.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  5. 3.2.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  6. 3.3.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  7. 3.4.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  8. 3.5.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  9. 3.7.x tests/modules/lingotek_test/src/LingotekFake.php \Drupal\lingotek_test\LingotekFake::getEditable()
  10. 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

LingotekFake

Namespace

Drupal\lingotek_test

Code

public function getEditable($key) {
  throw new \Exception('This method is deprecated, so should never be called from our own code.');
}