public function ConfigUpdateUnitTestBase::mockGetEditable in Configuration Update Manager 8
Mocks the getEditable() method for the mock config factory.
Parameters
string $name: Name of the config object to get an editable object for.
Return value
MockConfig Editable mock config object.
File
- tests/
src/ Unit/ ConfigUpdateUnitTestBase.php, line 394
Class
- ConfigUpdateUnitTestBase
- Base class for unit testing in Config Update Manager.
Namespace
Drupal\Tests\config_update\UnitCode
public function mockGetEditable($name) {
return new MockConfig($name, '', $this);
}