You are here

protected function MessageTestBase::getConfig in Message 8

Return a config setting.

Parameters

string $config: The config value.

string $storage: The storing of the configuration. Default to message.message.

Return value

mixed The value of the config.

File

tests/src/Functional/MessageTestBase.php, line 61

Class

MessageTestBase
Holds set of tools for the message testing.

Namespace

Drupal\Tests\message\Functional

Code

protected function getConfig($config, $storage = 'message.settings') {
  return \Drupal::config($storage)
    ->get($config);
}