InstallerTranslationExistingFileTest::$langcode

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationExistingFileTest::langcode
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php \Drupal\FunctionalTests\Installer\InstallerTranslationExistingFileTest::langcode

Overrides the language code in which to install Drupal.

Choose one of the smaller languages on ftp.drupal.org. There is no way to avoid using ftp.drupal.org since the code being tested runs extremely early in the installer. However, even if the call to ftp.drupal.org fails then this test will not fail as it will end up on the requirements page.

Type: string

Overrides InstallerTestBase::$langcode

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationExistingFileTest.php, line 29

Class

InstallerTranslationExistingFileTest
Tests translation files for multiple languages get imported during install.

Namespace

Drupal\FunctionalTests\Installer

Code

protected $langcode = 'xx-lolspeak';

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