function UpdateSemverTestBase::setProjectInstalledVersion
Same name in other branches
- 9 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::setProjectInstalledVersion()
- 11.x core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::setProjectInstalledVersion()
Sets the project installed version.
Parameters
string $version: The version number.
2 methods override UpdateSemverTestBase::setProjectInstalledVersion()
- UpdateSemverContribTestBase::setProjectInstalledVersion in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverContribTestBase.php - Sets the project installed version.
- UpdateSemverCoreTestBase::setProjectInstalledVersion in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTestBase.php - Sets the project installed version.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php, line 68
Class
- UpdateSemverTestBase
- Common setup and utility methods to test projects that use semver releases.
Namespace
Drupal\Tests\update\FunctionalCode
protected abstract function setProjectInstalledVersion($version);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.