You are here

protected function NodeTypeTranslationTest::installParameters in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/node/src/Tests/NodeTypeTranslationTest.php \Drupal\node\Tests\NodeTypeTranslationTest::installParameters()

Install Drupal in a language other than English for this test. This is not needed to test the node type translation itself but acts as a regression test.

Overrides WebTestBase::installParameters

See also

https://www.drupal.org/node/2584603

File

core/modules/node/src/Tests/NodeTypeTranslationTest.php, line 80
Contains \Drupal\node\Tests\NodeTypeTranslationTest.

Class

NodeTypeTranslationTest
Ensures that node types translation work correctly.

Namespace

Drupal\node\Tests

Code

protected function installParameters() {
  $parameters = parent::installParameters();
  $parameters['parameters']['langcode'] = $this->defaultLangcode;
  return $parameters;
}