function InstallerTestBase::installParameters

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::installParameters()
  2. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::installParameters()

Overrides FunctionalTestSetupTrait::installParameters

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::installDrupal in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
We are testing the installer, so set up a minimal environment for that.
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 85

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;
}

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