public function MockConfig::save in Configuration Update Manager 8
Saves the configuration.
File
- tests/
src/ Unit/ ConfigUpdateUnitTestBase.php, line 492
Class
- MockConfig
- Mock class for mutable configuration, config entity, and entity storage.
Namespace
Drupal\Tests\config_update\UnitCode
public function save() {
$config = $this->test
->getConfigStorage();
$config[$this->name] = $this->value;
$this->test
->setConfigStorage($config);
return $this;
}