You are here

public function DataPolicyModuleInstaller::validateUninstall in Data Policy 8

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/ProxyClass/DataPolicyModuleInstaller.php, line 91

Class

DataPolicyModuleInstaller
Provides a proxy class for \Drupal\data_policy\DataPolicyModuleInstaller.

Namespace

Drupal\data_policy\ProxyClass

Code

public function validateUninstall(array $module_list) {
  return $this
    ->lazyLoadItself()
    ->validateUninstall($module_list);
}