Resolve #3337900 "Deprecate locale system"
4 open threads
Closes #3337900
Merge request reports
Activity
added 1 commit
- c5da57b3 - added the patch re-roll with the requested changes.
6 7 use Drupal\Core\DependencyInjection\ContainerBuilder; 8 use Drupal\Core\Language\Language; 9 use Drupal\KernelTests\KernelTestBase; 10 use Drupal\language\Entity\ConfigurableLanguage; 11 12 /** 13 * Tests legacy locale module code. 14 * 15 * @group locale 16 * @group legacy 17 */ 18 class LocaleLegacyTest extends KernelTestBase { 19 20 /** 21 * The modules to enable for this test. changed this line in version 8 of the diff
36 $language['name'] = 'Hungarian'; 37 $container->setParameter('language.default_values', $language); 38 } 39 40 /** 41 * {@inheritdoc} 42 */ 43 protected function setUp(): void { 44 parent::setUp(); 45 ConfigurableLanguage::createFromLangcode('hu')->save(); 46 $this->installSchema('locale', ['locales_source', 'locales_target', 'locales_location']); 47 $this->installConfig(['locale_test']); 48 } 49 50 /** 51 * Tests locale_system_set_config_langcodes(). changed this line in version 7 of the diff
209 209 210 210 /** 211 211 * Updates default configuration when new modules or themes are installed. 212 * 213 * @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use changed this line in version 6 of the diff
added 1 commit
Please register or sign in to reply