public function DataPolicyModuleInstaller::addUninstallValidator in Data Policy 8
Adds module a uninstall validator.
Parameters
\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator: The uninstall validator to add.
Overrides ModuleInstallerInterface::addUninstallValidator
File
- src/
ProxyClass/ DataPolicyModuleInstaller.php, line 77
Class
- DataPolicyModuleInstaller
- Provides a proxy class for \Drupal\data_policy\DataPolicyModuleInstaller.
Namespace
Drupal\data_policy\ProxyClassCode
public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator) {
return $this
->lazyLoadItself()
->addUninstallValidator($uninstall_validator);
}