function 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 174
Class
- EntityUnitTestBase
- Defines an abstract test base for entity unit tests.
Namespace
Drupal\system\Tests\EntityCode
protected function uninstallModule($module) {
$this->disableModules([
$module,
]);
$this->refreshServices();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.