Common interface for module uninstall validators.
A module uninstall validator must implement this interface and be defined in a Drupal service that is tagged module_install.uninstall_validator.
Name | Modifiers | Type | Description |
---|---|---|---|
ModuleUninstallValidatorInterface::validate | public | function | Determines the reasons a module can not be uninstalled. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ModuleUninstallValidatorInterface.php/interface/ModuleUninstallValidatorInterface/8.1.x