function ModuleInstallerInterface::addUninstallValidator

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::addUninstallValidator()
  2. 8.9.x core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::addUninstallValidator()
  3. 11.x core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php \Drupal\Core\Extension\ModuleInstallerInterface::addUninstallValidator()

Adds a module uninstall validator.

Parameters

\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator: The uninstall validator to add.

File

core/lib/Drupal/Core/Extension/ModuleInstallerInterface.php, line 81

Class

ModuleInstallerInterface
Provides the installation of modules with creating the db schema and more.

Namespace

Drupal\Core\Extension

Code

public function addUninstallValidator(ModuleUninstallValidatorInterface $uninstall_validator);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.