Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
  • 7227fd43
    Issue #3251125 by Beakerboy, daffie, mondrake: Do not uninstall the database... · 7227fd43
    catch authored
    Issue #3251125 by Beakerboy, daffie, mondrake: Do not uninstall the database driver module within installer tests
    
    (cherry picked from commit 4b927a02)
@@ -4,6 +4,7 @@
use Drupal\Component\Serialization\Yaml;
use Drupal\Core\Archiver\ArchiveTar;
use Drupal\Core\Database\Database;
use Drupal\Core\Installer\Form\SelectProfileForm;
/**
@@ -69,6 +70,18 @@ protected function prepareEnvironment() {
}
$archiver->extractList($files, $config_sync_directory);
}
// Add the module that is providing the database driver to the list of
// modules that can not be uninstalled in the core.extension configuration.
if (file_exists($config_sync_directory . '/core.extension.yml')) {
$core_extension = Yaml::decode(file_get_contents($config_sync_directory . '/core.extension.yml'));
$module = Database::getConnection()->getProvider();
if ($module !== 'core') {
$core_extension['module'][$module] = 0;
$core_extension['module'] = module_config_sort($core_extension['module']);
file_put_contents($config_sync_directory . '/core.extension.yml', Yaml::encode($core_extension));
}
}
}
/**
Loading