setUpDefaultLanguage example


  protected $localeConfigManager;

  /** * {@inheritdoc} */
  protected function setUp(): void {
    parent::setUp();

    $this->setUpDefaultLanguage();

    $this->installSchema('locale', ['locales_source', 'locales_target', 'locales_location']);

    $this->setupLanguages();

    $this->installConfig(['locale_test']);
    // Simulate this hook invoked which would happen if in a non-kernel test     // or normal environment.     // @see locale_modules_installed()     // @see locale_system_update()     locale_system_set_config_langcodes();
    
Home | Imprint | This part of the site doesn't use cookies.