diff -u b/core/modules/content_translation/content_translation.install b/core/modules/content_translation/content_translation.install --- b/core/modules/content_translation/content_translation.install +++ b/core/modules/content_translation/content_translation.install @@ -88,13 +88,13 @@ module_set_weight('content_translation', 10); \Drupal::service('language_negotiator')->saveConfiguration(Language::TYPE_CONTENT, array(LanguageNegotiationUrl::METHOD_ID => 0)); - $config_names = config_get_storage_names_with_prefix('field.field.'); + $config_names = \Drupal::configFactory()->listAll('field.field.'); foreach ($config_names as $name) { \Drupal::config($name) ->set('settings.translation_sync', FALSE) ->save(); } - $config_names = config_get_storage_names_with_prefix('field.instance.'); + $config_names = \Drupal::configFactory()->listAll('field.instance.'); foreach ($config_names as $name) { \Drupal::config($name) ->set('settings.translation_sync', FALSE) @@ -122,13 +122,13 @@ * Implements hook_uninstall(). */ function content_translation_uninstall() { - $config_names = config_get_storage_names_with_prefix('field.field.'); + $config_names = \Drupal::configFactory()->listAll('field.field.'); foreach ($config_names as $name) { \Drupal::config($name) ->clear('settings.translation_sync') ->save(); } - $config_names = config_get_storage_names_with_prefix('field.instance.'); + $config_names = \Drupal::configFactory()->listAll('field.instance.'); foreach ($config_names as $name) { \Drupal::config($name) ->clear('settings.translation_sync') only in patch2: unchanged: --- a/core/modules/simpletest/simpletest.install +++ b/core/modules/simpletest/simpletest.install @@ -182,7 +182,7 @@ function simpletest_uninstall() { // Do not clean the environment in case the Simpletest module is uninstalled // in a (recursive) test for itself, since simpletest_clean_environment() // would also delete the test site of the parent test process. - if (!DRUPAL_TEST_IN_CHILD_SITE) { + if (!drupal_valid_test_ua()) { simpletest_clean_environment(); } // Delete verbose test output and any other testing framework files.