You are here

public function ModuleInstallerInterface::validateUninstall in Service Container 7

Same name and namespace in other branches
  1. 7.2 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.

1 method overrides ModuleInstallerInterface::validateUninstall()
ModuleInstaller::validateUninstall in src/Extension/ModuleInstaller.php
Determines whether a list of modules can be uninstalled.

File

lib/Drupal/Core/Extension/ModuleInstallerInterface.php, line 81
Contains \Drupal\Core\Extension\ModuleInstallerInterface.

Class

ModuleInstallerInterface
Provides the installation of modules with creating the db schema and more.

Namespace

Drupal\Core\Extension

Code

public function validateUninstall(array $module_list);