public function ModuleInstallerInterface::uninstall in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::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.
See also
2 methods override ModuleInstallerInterface::uninstall()
- ModuleInstaller::uninstall in core/
lib/ Drupal/ Core/ ProxyClass/ Extension/ ModuleInstaller.php - Uninstalls a given list of modules.
- ModuleInstaller::uninstall in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Uninstalls a given list of modules.
File
- core/
lib/ Drupal/ Core/ Extension/ ModuleInstallerInterface.php, line 62 - Contains \Drupal\Core\Extension\ModuleInstallerInterface.
Class
- ModuleInstallerInterface
- Provides the installation of modules with creating the db schema and more.
Namespace
Drupal\Core\ExtensionCode
public function uninstall(array $module_list, $uninstall_dependents = TRUE);