protected function ConfigOtherModuleTest::uninstallModule in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config/tests/src/Functional/ConfigOtherModuleTest.php \Drupal\Tests\config\Functional\ConfigOtherModuleTest::uninstallModule()
- 10 core/modules/config/tests/src/Functional/ConfigOtherModuleTest.php \Drupal\Tests\config\Functional\ConfigOtherModuleTest::uninstallModule()
Uninstalls a module.
Parameters
string $module: The module name.
2 calls to ConfigOtherModuleTest::uninstallModule()
- ConfigOtherModuleTest::testInstallOtherModuleFirst in core/
modules/ config/ tests/ src/ Functional/ ConfigOtherModuleTest.php - Tests enabling the provider of the default configuration first.
- ConfigOtherModuleTest::testUninstall in core/
modules/ config/ tests/ src/ Functional/ ConfigOtherModuleTest.php - Tests uninstalling Node module removes views which are dependent on it.
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigOtherModuleTest.php, line 134
Class
- ConfigOtherModuleTest
- Tests default configuration provided by a module that does not own it.
Namespace
Drupal\Tests\config\FunctionalCode
protected function uninstallModule($module) {
$this->container
->get('module_installer')
->uninstall([
$module,
]);
$this->container = \Drupal::getContainer();
}