protected function EntityKernelTestBase::uninstallModule in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::uninstallModule()
Uninstalls a module and refreshes services.
Parameters
string $module: The module to uninstall.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKernelTestBase.php, line 169
Class
- EntityKernelTestBase
- Defines an abstract test base for entity kernel tests.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function uninstallModule($module) {
$this
->disableModules([
$module,
]);
$this
->refreshServices();
}