You are here

public function ConfigReverterTest::deleteProvider in Configuration Update Manager 8

Data provider for self:testDelete().

File

tests/src/Unit/ConfigReverterTest.php, line 326

Class

ConfigReverterTest
Tests the \Drupal\config_update\ConfigReverter class.

Namespace

Drupal\Tests\config_update\Unit

Code

public function deleteProvider() {
  return [
    // Elements: type, name, config name, return value.
    [
      'system.simple',
      'in.extension',
      'in.extension',
      TRUE,
    ],
    [
      'foo',
      'one',
      'foo.bar.one',
      TRUE,
    ],
    [
      'unknown',
      'in.extension',
      FALSE,
      FALSE,
    ],
    [
      'system.simple',
      'missing2',
      'missing2',
      FALSE,
    ],
  ];
}