Skip to content
Snippets Groups Projects

Resolve #3481778 "Option2"

Compare and
11 files
+ 119
59
Compare changes
  • Side-by-side
  • Inline

Files

+ 0
9
@@ -493,15 +493,6 @@ function install_begin_request($class_loader, &$install_state) {
\Drupal::translation()->setDefaultLangcode($install_state['parameters']['langcode']);
}
// Override the module list with a minimal set of modules.
$module_handler = \Drupal::moduleHandler();
if (!$module_handler->moduleExists('system')) {
$module_handler->addModule('system', 'core/modules/system');
}
if ($profile && !$module_handler->moduleExists($profile)) {
$module_handler->addProfile($profile, $install_state['profiles'][$profile]->getPath());
}
// Load all modules and perform request related initialization.
$kernel->preHandle($request);
Loading