function ModuleInstallerTest::providerTestInvalidCoreInstall

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::providerTestInvalidCoreInstall()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::providerTestInvalidCoreInstall()
  3. 10 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::providerTestInvalidCoreInstall()

Data provider for testInvalidCoreInstall().

File

core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php, line 124

Class

ModuleInstallerTest
Tests the ModuleInstaller class.

Namespace

Drupal\KernelTests\Core\Extension

Code

public static function providerTestInvalidCoreInstall() {
    return [
        'no dependencies system_core_incompatible_semver_test' => [
            'system_core_incompatible_semver_test',
            FALSE,
        ],
        'install_dependencies system_core_incompatible_semver_test' => [
            'system_core_incompatible_semver_test',
            TRUE,
        ],
    ];
}

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