public function ModuleInstallerInterface::addUninstallValidator in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::addUninstallValidator()
Adds module a uninstall validator.
Parameters
\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator: The uninstall validator to add.
1 method overrides ModuleInstallerInterface::addUninstallValidator()
- ModuleInstaller::addUninstallValidator in src/
Extension/ ModuleInstaller.php - Adds module a uninstall validator.
File
- lib/
Drupal/ Core/ Extension/ ModuleInstallerInterface.php, line 70 - Contains \Drupal\Core\Extension\ModuleInstallerInterface.
Class
- ModuleInstallerInterface
- Provides the installation of modules with creating the db schema and more.
Namespace
Drupal\Core\ExtensionCode
public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator);