UpdateHookRegistry::$allAvailableSchemaVersions

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::allAvailableSchemaVersions
  2. 11.x core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::allAvailableSchemaVersions

A static cache of schema currentVersions per module.

Stores schema versions of the modules based on their defined hook_update_N implementations. Example: ``` [ 'example_module' => [ 8000, 8001, 8002 ] ] ```

Type: int[][]

See also

\Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates()

File

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

Class

UpdateHookRegistry
Provides module updates versions handling.

Namespace

Drupal\Core\Update

Code

protected $allAvailableSchemaVersions = [];

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