UpdateRegistry::loadUpdateFiles

protected UpdateRegistry::loadUpdateFiles(array $module_extensions)

Loads all update files for a given list of extension.

Parameters

\Drupal\Core\Extension\Extension[] $module_extensions: The extensions used for loading.

File

core/lib/Drupal/Core/Update/UpdateRegistry.php, line 144

Class

UpdateRegistry
Provides all and missing update implementations.

Namespace

Drupal\Core\Update

Code

protected function loadUpdateFiles(array $module_extensions) {
  // Load all the {$this->updateType}.php files.
  foreach ($this->enabledModules as $module) {
    if (isset($module_extensions[$module])) {
      $this->loadUpdateFile($module_extensions[$module]);
    }
  }
}
doc_Drupal
2016-10-29 09:51:12
Comments
Leave a Comment

Please login to continue.