public ModuleInstallerInterface::uninstall(array $module_list, $uninstall_dependents = TRUE)
Uninstalls a given list of modules.
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.
bool FALSE if one or more dependencies are missing, TRUE otherwise.
public function uninstall(array $module_list, $uninstall_dependents = TRUE);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ModuleInstallerInterface.php/function/ModuleInstallerInterface::uninstall/8.1.x