public ModuleInstallerInterface::addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator)
Adds module a uninstall validator.
Parameters
\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator: The uninstall validator to add.
File
- core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php, line 71
Class
- ModuleInstallerInterface
- Provides the installation of modules with creating the db schema and more.
Namespace
Drupal\Core\Extension
Code
public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator);
Please login to continue.