function DistributionProfileTranslationQueryTest::visitInstaller
Visits the interactive installer.
Overrides InstallerTestBase::visitInstaller
File
- 
              core/tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileTranslationQueryTest.php, line 63 
Class
- DistributionProfileTranslationQueryTest
- Tests distribution profile support with a 'langcode' query string.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function visitInstaller() {
  // Pass a different language code than the one set in the distribution
  // profile. This distribution language should still be used.
  // The unrouted URL assembler does not exist at this point, so we build the
  // URL ourselves.
  $this->drupalGet($GLOBALS['base_url'] . '/core/install.php' . '?langcode=fr');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
