You are here

public function ModuleInstaller::addUninstallValidator in Service Container 7.2

Same name and namespace in other branches
  1. 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\Extension

Code

public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator) {
  throw new \BadMethodCallException(sprintf('%s is not implemented', __FUNCTION__));
}