public function ModuleInstaller::validateUninstall in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/Extension/ModuleInstaller.php \Drupal\Core\Extension\ModuleInstaller::validateUninstall()
- 9 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::validateUninstall()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::validateUninstall()
- 10 core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php \Drupal\Core\ProxyClass\Extension\ModuleInstaller::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.
Overrides ModuleInstallerInterface::validateUninstall
File
- core/
lib/ Drupal/ Core/ ProxyClass/ Extension/ ModuleInstaller.php, line 97
Class
- ModuleInstaller
- Provides a proxy class for \Drupal\Core\Extension\ModuleInstaller.
Namespace
Drupal\Core\ProxyClass\ExtensionCode
public function validateUninstall(array $module_list) {
return $this
->lazyLoadItself()
->validateUninstall($module_list);
}