Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UpdateHookRegistry.php

function 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 185

Class

UpdateHookRegistry
Provides module updates versions handling.

Namespace

Drupal\Core\Update

Code

public function getAllInstalledVersions() : array {
    return $this->keyValue
        ->getAll();
}
RSS feed
Powered by Drupal