public function ModuleInstaller::validateUninstall in Service Container 7
Same name and namespace in other branches
- 7.2 src/Extension/ModuleInstaller.php \Drupal\service_container\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
- src/
Extension/ ModuleInstaller.php, line 63 - Contains \Drupal\service_container\Extension\ModuleInstaller.
Class
- ModuleInstaller
- Provides a module installer compatible with D7.
Namespace
Drupal\service_container\ExtensionCode
public function validateUninstall(array $module_list) {
throw new \BadMethodCallException(sprintf('%s is not implemented', __FUNCTION__));
}