protected property ConfigUpdateUnitTestBase::$configStorageExtensionInfo in Configuration Update Manager 8
Array of extension configuration information for mocking.
Array structure: Each element is an array whose first element is a provider name, and second is an array of config items it provides.
Type: array
See also
ConfigUpdateUnitTestBase::getConfigStorageMock()
File
- tests/
src/ Unit/ ConfigUpdateUnitTestBase.php, line 142
Class
- ConfigUpdateUnitTestBase
- Base class for unit testing in Config Update Manager.
Namespace
Drupal\Tests\config_update\UnitCode
protected $configStorageExtensionInfo = [
[
'foo.bar',
[
'foo.bar.one',
'foo.bar.two',
'foo.bar.seven',
],
],
[
'baz.foo',
[],
],
// This next item is assumed to be element 2 of the array. If not, you
// will need to change ConfigUpdateUnitTestBase::getConfigStorageMock().
[
'',
[
'foo.bar.one',
'foo.bar.two',
'foo.bar.seven',
'foo.barbaz.four',
'foo.barnot.three',
'something.else',
],
],
];