protected function EntityUnitTestBase::uninstallModule in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/src/Tests/Entity/EntityUnitTestBase.php \Drupal\system\Tests\Entity\EntityUnitTestBase::uninstallModule()
Uninstalls a module and refreshes services.
Parameters
string $module: The module to uninstall.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityUnitTestBase.php, line 165 - Contains \Drupal\system\Tests\Entity\EntityUnitTestBase.
Class
- EntityUnitTestBase
- Defines an abstract test base for entity unit tests.
Namespace
Drupal\system\Tests\EntityCode
protected function uninstallModule($module) {
$this
->disableModules(array(
$module,
));
$this
->refreshServices();
}