protected function InstallerTestBase::setUpLanguage in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpLanguage()
Installer step: Select language.
See also
\Drupal\Core\Installer\Form\SelectLanguageForm
12 calls to InstallerTestBase::setUpLanguage()
- DistributionProfileExistingSettingsTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileExistingSettingsTest.php - Installer step: Select language.
- DistributionProfileTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTest.php - Installer step: Select language.
- InstallerExistingConfigTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTest.php - Installer step: Select language.
- InstallerExistingInstallationTest::testInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingInstallationTest.php - Verifies that Drupal can't be reinstalled while an existing installation is available.
- InstallerLanguageDirectionTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerLanguageDirectionTest.php - Installer step: Select language.
13 methods override InstallerTestBase::setUpLanguage()
- DistributionProfileExistingSettingsTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileExistingSettingsTest.php - Installer step: Select language.
- DistributionProfileTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTest.php - Installer step: Select language.
- DistributionProfileTranslationQueryTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTranslationQueryTest.php - Installer step: Select language.
- DistributionProfileTranslationTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTranslationTest.php - Installer step: Select language.
- InstallerExistingConfigTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTest.php - Installer step: Select language.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php, line 234
Class
- InstallerTestBase
- Base class for testing the interactive installer.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpLanguage() {
$edit = [
'langcode' => $this->langcode,
];
// The 'Select Language' step is always English.
$this
->submitForm($edit, 'Save and continue');
}