public function ModuleInstallerInterface::addUninstallValidator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/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.
2 methods override ModuleInstallerInterface::addUninstallValidator()
- ModuleInstaller::addUninstallValidator in core/
lib/ Drupal/ Core/ ProxyClass/ Extension/ ModuleInstaller.php - Adds module a uninstall validator.
- ModuleInstaller::addUninstallValidator in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Adds module a uninstall validator.
File
- core/
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);