You are here

public function MockConfig::get in Configuration Update Manager 8

Gets a component of the configuration value.

File

tests/src/Unit/ConfigUpdateUnitTestBase.php, line 464

Class

MockConfig
Mock class for mutable configuration, config entity, and entity storage.

Namespace

Drupal\Tests\config_update\Unit

Code

public function get($key) {
  return isset($this->value[$key]) ? $this->value[$key] : NULL;
}