InstallerTranslationDownloadTest::$installParameters

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Installer/InstallerTranslationDownloadTest.php \Drupal\KernelTests\Core\Installer\InstallerTranslationDownloadTest::installParameters

The parameters to pass to install_drupal().

Type: installParameters

File

core/tests/Drupal/KernelTests/Core/Installer/InstallerTranslationDownloadTest.php, line 42

Class

InstallerTranslationDownloadTest
Tests that profile translations are downloaded by the installer.

Namespace

Drupal\KernelTests\Core\Installer

Code

private array $installParameters = [
  'parameters' => [
    'langcode' => 'de',
  ],
  'forms' => [
    'install_configure_form' => [
      'site_name' => 'Test',
      'site_mail' => 'admin@example.com',
      'account' => [
        'name' => 'admin',
        'mail' => 'admin@example.com',
        'pass' => [
          'pass1' => 'admin',
          'pass2' => 'admin',
        ],
      ],
    ],
  ],
  'interactive' => FALSE,
];

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