public function ModuleInstallerInterface::validateUninstall in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::validateUninstall()
Determines whether a list of modules can be uninstalled.
Parameters
string[] $module_list: An array of module names.
Return value
string[] An array of reasons the module can not be uninstalled, empty if it can.
2 methods override ModuleInstallerInterface::validateUninstall()
- ModuleInstaller::validateUninstall in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Determines whether a list of modules can be uninstalled.
- ModuleInstaller::validateUninstall in core/
lib/ Drupal/ Core/ ProxyClass/ Extension/ ModuleInstaller.php - Determines whether a list of modules can be uninstalled.
File
- core/
lib/ Drupal/ Core/ Extension/ ModuleInstallerInterface.php, line 89
Class
- ModuleInstallerInterface
- Provides the installation of modules with creating the db schema and more.
Namespace
Drupal\Core\ExtensionCode
public function validateUninstall(array $module_list);