function UpdateHookRegistry::getAllEquivalentUpdates

Same name in other branches
  1. 10 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::getAllEquivalentUpdates()

Returns the equivalent update information for all modules.

Return value

array<string, array<int, array{ran_update:int, future_version_string: string}>> Array of modules as the keys and values as arrays of equivalent update information.

File

core/lib/Drupal/Core/Update/UpdateHookRegistry.php, line 312

Class

UpdateHookRegistry
Provides module updates versions handling.

Namespace

Drupal\Core\Update

Code

public function getAllEquivalentUpdates() : array {
    return $this->equivalentUpdates
        ->getAll();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.