UpdateHookRegistry::$equivalentUpdates

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::equivalentUpdates

The core.equivalent_updates key value storage.

The key value keys are modules and the value is an array of equivalent updates with the following shape:

  • The array keys are the equivalent future update numbers.
  • The value is an array containing two keys:
    • 'ran_update': The update that registered the future update as an equivalent.
    • 'future_version_string': The version that provides the future update.

Type: \Drupal\Core\KeyValueStore\KeyValueStoreInterface

See also

module.api.php

File

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

Class

UpdateHookRegistry
Provides module updates versions handling.

Namespace

Drupal\Core\Update

Code

protected KeyValueStoreInterface $equivalentUpdates;

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