You are here

public function UpdateHookRegistry::deleteInstalledVersion in Drupal 9

Same name and namespace in other branches
  1. 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 148

Class

UpdateHookRegistry
Provides module updates versions handling.

Namespace

Drupal\Core\Update

Code

public function deleteInstalledVersion(string $module) : void {
  $this->keyValue
    ->delete($module);
}