function ConfigDependencyTest::providerConfigEntityUninstallComplex

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php \Drupal\KernelTests\Core\Config\ConfigDependencyTest::providerConfigEntityUninstallComplex()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php \Drupal\KernelTests\Core\Config\ConfigDependencyTest::providerConfigEntityUninstallComplex()
  3. 11.x core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php \Drupal\KernelTests\Core\Config\ConfigDependencyTest::providerConfigEntityUninstallComplex()

Data provider for self::testConfigEntityUninstallComplex().

File

core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php, line 232

Class

ConfigDependencyTest
Tests for configuration dependencies.

Namespace

Drupal\KernelTests\Core\Config

Code

public static function providerConfigEntityUninstallComplex() {
    // Ensure that alphabetical order has no influence on dependency fixing and
    // removal.
    return [
        [
            [
                'a',
                'b',
                'c',
                'd',
                'e',
            ],
        ],
        [
            [
                'e',
                'd',
                'c',
                'b',
                'a',
            ],
        ],
        [
            [
                'e',
                'c',
                'd',
                'a',
                'b',
            ],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.