interface ModuleUninstallValidatorInterface in Service Container 7
Same name and namespace in other branches
- 7.2 src/Extension/ModuleUninstallValidatorInterface.php \Drupal\Core\Extension\ModuleUninstallValidatorInterface
Common interface for module uninstall validators.
Hierarchy
- interface \Drupal\Core\Extension\ModuleUninstallValidatorInterface
Expanded class hierarchy of ModuleUninstallValidatorInterface
All classes that implement ModuleUninstallValidatorInterface
1 file declares its use of ModuleUninstallValidatorInterface
- ModuleInstaller.php in src/
Extension/ ModuleInstaller.php - Contains \Drupal\service_container\Extension\ModuleInstaller.
File
- src/
Extension/ ModuleUninstallValidatorInterface.php, line 13 - Contains Drupal\Core\Extension\ModuleUninstallValidatorInterface.
Namespace
Drupal\Core\ExtensionView source
interface ModuleUninstallValidatorInterface {
/**
* Determines the reasons a module can not be uninstalled.
*
* @param string $module
* A module name.
*
* @return string[]
* An array of reasons the module can not be uninstalled, empty if it can.
*/
public function validate($module);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ModuleUninstallValidatorInterface:: |
public | function | Determines the reasons a module can not be uninstalled. |