function InstallerTestBase::setUpRequirementsProblem

Same name in this branch
  1. 8.9.x core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpRequirementsProblem()
Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()

Installer step: Requirements problem.

Override this method to test specific requirements warnings or errors during the installer.

See also

system_requirements()

2 calls to InstallerTestBase::setUpRequirementsProblem()
InstallerExistingInstallationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php
Verifies that Drupal can't be reinstalled while an existing installation is available.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
1 method overrides InstallerTestBase::setUpRequirementsProblem()
InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpRequirementsProblem in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
Installer step: Requirements problem.

File

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

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpRequirementsProblem() {
    // Do nothing.
}

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