function UpdateRegistry::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::__construct()
- 10 core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::__construct()
- 9 core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::__construct()
- 8.9.x core/lib/Drupal/Core/Update/UpdateRegistry.php \Drupal\Core\Update\UpdateRegistry::__construct()
File
-
core/
lib/ Drupal/ Core/ Update/ UpdateRegistry.php, line 49
Class
- UpdateRegistry
- Provides all and missing update implementations.
Namespace
Drupal\Core\UpdateCode
public function __construct(protected $root, protected $sitePath, array $module_list, protected KeyValueStoreInterface $keyValue, ThemeHandlerInterface $theme_handler, protected MemoryCacheInterface $memoryCache, protected string $updateType = 'post_update') {
$this->updateType = $updateType;
$this->enabledExtensions = array_merge(array_keys($module_list), array_keys($theme_handler->listInfo()));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.