public function ModuleInstaller::addUninstallValidator in Service Container 7.2
Same name and namespace in other branches
- 7 src/Extension/ModuleInstaller.php \Drupal\service_container\Extension\ModuleInstaller::addUninstallValidator()
Adds module a uninstall validator.
Parameters
\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator: The uninstall validator to add.
Overrides ModuleInstallerInterface::addUninstallValidator
File
- src/
Extension/ ModuleInstaller.php, line 56 - Contains \Drupal\service_container\Extension\ModuleInstaller.
Class
- ModuleInstaller
- Provides a module installer compatible with D7.
Namespace
Drupal\service_container\ExtensionCode
public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator) {
throw new \BadMethodCallException(sprintf('%s is not implemented', __FUNCTION__));
}