protected UpdateRegistry::scanExtensionsAndLoadUpdateFiles()
Scans all module + profile extensions and load the update files.
File
- core/lib/Drupal/Core/Update/UpdateRegistry.php, line 237
Class
- UpdateRegistry
- Provides all and missing update implementations.
Namespace
Drupal\Core\Update
Code
protected function scanExtensionsAndLoadUpdateFiles() { // Scan the module list. $extension_discovery = new ExtensionDiscovery($this->root, FALSE, [], $this->sitePath); $module_extensions = $extension_discovery->scan('module'); $profile_extensions = $extension_discovery->scan('profile'); $extensions = array_merge($module_extensions, $profile_extensions); $this->loadUpdateFiles($extensions); }
Please login to continue.