function UpdateHookRegistry::deleteInstalledVersion
Same name in other branches
- 9 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::deleteInstalledVersion()
- 10 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::deleteInstalledVersion()
Deletes the installed version information for the module.
Parameters
string $module: The module name to delete.
File
-
core/
lib/ Drupal/ Core/ Update/ UpdateHookRegistry.php, line 172
Class
- UpdateHookRegistry
- Provides module updates versions handling.
Namespace
Drupal\Core\UpdateCode
public function deleteInstalledVersion(string $module) : void {
$this->keyValue
->delete($module);
$this->equivalentUpdates
->delete($module);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.