You are here

protected property ConfigUpdateUnitTestBase::$configStorageActiveInfo in Configuration Update Manager 8

Array of active 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 114

Class

ConfigUpdateUnitTestBase
Base class for unit testing in Config Update Manager.

Namespace

Drupal\Tests\config_update\Unit

Code

protected $configStorageActiveInfo = [
  [
    'foo.bar',
    [
      'foo.bar.one',
      'foo.bar.two',
      'foo.bar.three',
    ],
  ],
  [
    'foo.barbaz',
    [
      'foo.barbaz.four',
      'foo.barbaz.five',
      'foo.barbaz.six',
    ],
  ],
  [
    'baz.foo',
    [],
  ],
  [
    '',
    [
      'foo.bar.one',
      'foo.bar.two',
      'foo.bar.three',
      'foo.barbaz.four',
      'foo.barbaz.five',
      'foo.barbaz.six',
      'something.else',
      'another.one',
    ],
  ],
];