public function UpdateHookRegistry::deleteInstalledVersion in Drupal 10
Same name and namespace in other branches
- 9 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 148
Class
- UpdateHookRegistry
- Provides module updates versions handling.
Namespace
Drupal\Core\UpdateCode
public function deleteInstalledVersion(string $module) : void {
$this->keyValue
->delete($module);
}