UpdateHookRegistry::$allAvailableSchemaVersions
Same name in other branches
- 10 core/lib/Drupal/Core/Update/UpdateHookRegistry.php \Drupal\Core\Update\UpdateHookRegistry::allAvailableSchemaVersions
- 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 50
Class
- UpdateHookRegistry
- Provides module updates versions handling.
Namespace
Drupal\Core\UpdateCode
protected $allAvailableSchemaVersions = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.