You are here

protected function InstallerTestBase::installParameters in Drupal 10

Returns the parameters that will be used when the test installs Drupal.

Return value

array Array of parameters for use in install_drupal().

Overrides FunctionalTestSetupTrait::installParameters

See also

install_drupal()

install_state_defaults()

4 calls to InstallerTestBase::installParameters()
InstallerExistingConfigTestBase::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
Returns the parameters that will be used when the test installs Drupal.
InstallerSiteConfigProfileTest::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
Returns the parameters that will be used when the test installs Drupal.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
InstallerTranslationMultipleLanguageTest::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
Returns the parameters that will be used when the test installs Drupal.
3 methods override InstallerTestBase::installParameters()
InstallerExistingConfigTestBase::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
Returns the parameters that will be used when the test installs Drupal.
InstallerSiteConfigProfileTest::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerSiteConfigProfileTest.php
Returns the parameters that will be used when the test installs Drupal.
InstallerTranslationMultipleLanguageTest::installParameters in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
Returns the parameters that will be used when the test installs Drupal.

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php, line 79

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function installParameters() {
  $params = parent::installParameters();

  // Set the checkbox values to FALSE so that
  // \Drupal\Tests\BrowserTestBase::translatePostValues() does not remove
  // them.
  $params['forms']['install_configure_form']['enable_update_status_module'] = FALSE;
  $params['forms']['install_configure_form']['enable_update_status_emails'] = FALSE;
  return $params;
}