protected function ConfigInstallerEnSecondTest::setUpLanguage in Configuration installer 8
Installer step: Select language.
Overrides InstallerTestBase::setUpLanguage
File
- tests/
src/ Functional/ ConfigInstallerEnSecondTest.php, line 41
Class
- ConfigInstallerEnSecondTest
- Tests the config installer profile by uploading a tarball.
Namespace
Drupal\Tests\config_installer\FunctionalCode
protected function setUpLanguage() {
// Place custom local translations in the translations directory so that we
// don't go and translate everything.
mkdir(DRUPAL_ROOT . '/' . $this->siteDirectory . '/files/translations', 0777, TRUE);
file_put_contents(DRUPAL_ROOT . '/' . $this->siteDirectory . '/files/translations/drupal-8.0.0.fr.po', $this
->getPo('fr'));
parent::setUpLanguage();
}