protected property ConfigUpdateUnitTestBase::$configStorageOptionalInfo in Configuration Update Manager 8
Array of optional 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 169
Class
- ConfigUpdateUnitTestBase
- Base class for unit testing in Config Update Manager.
Namespace
Drupal\Tests\config_update\UnitCode
protected $configStorageOptionalInfo = [
[
'foo.bar',
[],
],
[
'foo.barbaz',
[
'foo.barbaz.four',
],
],
// This next item is assumed to be element 2 of the array. If not, you
// will need to change ConfigUpdateUnitTestBase::getConfigStorageMock().
[
'',
[
'foo.barbaz.four',
],
],
];