only in patch2: unchanged: --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -403,7 +403,7 @@ public function testDateFormatTranslation() { // Update translatable fields. $edit = array( 'config_names[system.date_format.' . $id . '][label][translation]' => $id . ' - FR', - 'config_names[system.date_format.' . $id . '][pattern][pattern.php][translation]' => 'D', + 'config_names[system.date_format.' . $id . '][pattern][translation]' => 'D', ); // Save language specific version of form. @@ -413,7 +413,7 @@ public function testDateFormatTranslation() { $override = \Drupal::languageManager()->getLanguageConfigOverride('fr', 'system.date_format.' . $id); $expected = array( 'label' => $id . ' - FR', - 'pattern' => array('php' => 'D'), + 'pattern' => 'D', ); $this->assertEqual($expected, $override->get()); only in patch2: unchanged: --- a/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php +++ b/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php @@ -117,7 +117,7 @@ function testConfigTranslation() { // Get translation and check we've only got the site name. $translation = $wrapper->getTranslation($langcode); - $format = $translation->get('pattern')->get('php')->getValue(); + $format = $translation->get('pattern')->getValue(); $this->assertEqual($format, 'D', 'Got the right date format pattern after translation.'); // Formatting the date 8 / 27 / 1985 @ 13:37 EST with pattern D should only in patch2: unchanged: --- a/core/modules/system/src/Tests/System/DateTimeTest.php +++ b/core/modules/system/src/Tests/System/DateTimeTest.php @@ -132,7 +132,7 @@ function testDateFormatXSS() { $date_format = entity_create('date_format', array( 'id' => 'xss_short', 'label' => 'XSS format', - 'pattern' => array('php' => '\<\s\c\r\i\p\t\>\a\l\e\r\t\(\'\X\S\S\'\)\;\<\/\s\c\r\i\p\t\>'), + 'pattern' => '\<\s\c\r\i\p\t\>\a\l\e\r\t\(\'\X\S\S\'\)\;\<\/\s\c\r\i\p\t\>', )); $date_format->save();