public function MockConfig::set in Configuration Update Manager 8
Sets a component of the configuration value.
File
- tests/
src/ Unit/ ConfigUpdateUnitTestBase.php, line 471
Class
- MockConfig
- Mock class for mutable configuration, config entity, and entity storage.
Namespace
Drupal\Tests\config_update\UnitCode
public function set($key, $value) {
$this->value[$key] = $value;
return $this;
}