You are here

protected property ConfigListerTest::$configProviderList in Configuration Update Manager 8

List of configuration by provider in the mocks.

This is an array whose keys are provider names, and whose values are each an array containing the provider type, an array of config items mocked to be in config/install, and the same for config/optional. In all cases, the first item in the array of config items should be tested to be provided by that provider, and any others should not be there.

Type: array

File

tests/src/Unit/ConfigListerTest.php, line 34

Class

ConfigListerTest
Tests the \Drupal\config_update\ConfigListerWithProviders class.

Namespace

Drupal\Tests\config_update\Unit

Code

protected $configProviderList = [
  'foo_module' => [
    'module',
    [
      'foo.barbaz.one',
      'baz.bar.one',
    ],
    [
      'foo.barbaz.two',
    ],
  ],
  'foo_theme' => [
    'theme',
    [
      'foo.bar.one',
    ],
    [
      'foo.bar.two',
    ],
  ],
  'standard' => [
    'profile',
    [
      'baz.bar.one',
    ],
    [
      'baz.bar.two',
    ],
  ],
];