diff -u b/core/includes/theme.inc b/core/includes/theme.inc --- b/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1476,7 +1476,7 @@ } // The value is not used; the weight is ignored for themes currently. - $theme_config->set("enabled.$key", 0)->save();; + $theme_config->set("enabled.$key", 0)->save(); $disabled_themes->clear($key)->save(); // Refresh the theme list as config_install_default_config() needs an diff -u b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php --- b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigOtherModuleTest.php @@ -44,7 +44,7 @@ // Check that the config entity doesn't exist before the config_test module // is enabled. We cannot use the entity system because the config_test // entity type does not exist. - $config = \Drupal::config('config_test.dynamic.other_module'); + $config = $this->container->get('config.factory')->get('config_test.dynamic.other_module'); $this->assertTrue($config->isNew(), 'Default configuration for other modules is not installed if that module is not enabled.'); // Install the module that provides the entity type. This installs the @@ -56,7 +56,7 @@ // default configuration. $this->moduleHandler->disable(array('config_test')); $this->moduleHandler->uninstall(array('config_test')); - $config = \Drupal::config('config_test.dynamic.other_module'); + $config = $this->container->get('config.factory')->get('config_test.dynamic.other_module'); $this->assertTrue($config->isNew(), 'Default configuration for other modules is removed when the config entity provider is disabled.'); // Install the module that provides the entity type again. This installs the diff -u b/core/modules/config/tests/config_other_module_config/config_other_module_config.module b/core/modules/config/tests/config_other_module_config/config_other_module_config.module --- b/core/modules/config/tests/config_other_module_config/config_other_module_config.module +++ b/core/modules/config/tests/config_other_module_config/config_other_module_config.module @@ -4,4 +4,3 @@ * @file - * Config test module to test a supplying a configuration entity owned by - * another module. + * Test module which supplies a configuration entity owned by another module. */