public function ModuleInstaller::uninstall in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Extension/ModuleInstaller.php \Drupal\Core\Extension\ModuleInstaller::uninstall()
- 8 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::uninstall()
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::uninstall()
Uninstalls a given list of modules.
Parameters
string[] $module_list: The modules to uninstall.
bool $uninstall_dependents: (optional) If TRUE, dependent modules will automatically be uninstalled in the correct order. This incurs a significant performance cost, so use FALSE if you know $module_list is already complete.
Return value
bool FALSE if one or more dependencies are missing, TRUE otherwise.
Overrides ModuleInstallerInterface::uninstall
See also
File
- core/
lib/ Drupal/ Core/ ProxyClass/ Extension/ ModuleInstaller.php, line 93 - Contains \Drupal\Core\ProxyClass\Extension\ModuleInstaller.
Class
- ModuleInstaller
- Provides a proxy class for \Drupal\Core\Extension\ModuleInstaller.
Namespace
Drupal\Core\ProxyClass\ExtensionCode
public function uninstall(array $module_list, $uninstall_dependents = true) {
return $this
->lazyLoadItself()
->uninstall($module_list, $uninstall_dependents);
}