protected function MessageTestBase::configSet in Message 8
Set a config value.
Parameters
string $config: The config name.
string $value: The config value.
string $storage: The storing of the configuration. Default to message.message.
1 call to MessageTestBase::configSet()
- MessageEntityDelete::setUp in tests/
src/ Functional/ MessageEntityDelete.php
File
- tests/
src/ Functional/ MessageTestBase.php, line 75
Class
- MessageTestBase
- Holds set of tools for the message testing.
Namespace
Drupal\Tests\message\FunctionalCode
protected function configSet($config, $value, $storage = 'message.settings') {
\Drupal::configFactory()
->getEditable($storage)
->set($config, $value);
}