InstallerTranslationMultipleLanguageForeignTest.php

Same filename in other branches
  1. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php

Namespace

Drupal\FunctionalTests\Installer

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageForeignTest.php

View source
<?php

namespace Drupal\FunctionalTests\Installer;


/**
 * Tests translation files for multiple languages get imported during install.
 *
 * @group Installer
 */
class InstallerTranslationMultipleLanguageForeignTest extends InstallerTranslationMultipleLanguageTest {
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * Overrides the language code in which to install Drupal.
     *
     * @var string
     */
    protected $langcode = 'de';
    
    /**
     * {@inheritdoc}
     */
    protected function setUpLanguage() {
        parent::setUpLanguage();
        $this->translations['Save and continue'] = 'Save and continue de';
    }

}

Classes

Title Deprecated Summary
InstallerTranslationMultipleLanguageForeignTest Tests translation files for multiple languages get imported during install.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.