public function MockConfig::updateFromStorageRecord in Configuration Update Manager 8
Mocks the updateFromStorageRecord() method from entity storage.
File
- tests/
src/ Unit/ ConfigUpdateUnitTestBase.php, line 528
Class
- MockConfig
- Mock class for mutable configuration, config entity, and entity storage.
Namespace
Drupal\Tests\config_update\UnitCode
public function updateFromStorageRecord($object, $values) {
return $object
->createFromStorageRecord($values);
}