public function UpdateHookRegistry::getAllInstalledVersions in Drupal 9
Same name and namespace in other branches
- 10 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::getAllInstalledVersions()
Returns the currently installed schema version for all modules.
Return value
int[] Array of modules as the keys and values as the currently installed schema version of corresponding module, or self::SCHEMA_UNINSTALLED if the module is not installed.
File
- core/
lib/ Drupal/ Core/ Update/ UpdateHookRegistry.php, line 160
Class
- UpdateHookRegistry
- Provides module updates versions handling.
Namespace
Drupal\Core\UpdateCode
public function getAllInstalledVersions() : array {
return $this->keyValue
->getAll();
}