function UpdateSemverTestBase::refreshUpdateStatus
Same name and namespace in other branches
- 11.x core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
- 10 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php, line 433
Class
- UpdateSemverTestBase
- Common test methods for projects that use semver version releases.
Namespace
Drupal\Tests\update\FunctionalCode
protected function refreshUpdateStatus($xml_map, $url = 'update-test') {
if (!isset($xml_map['drupal'])) {
$xml_map['drupal'] = '0.0';
}
parent::refreshUpdateStatus($xml_map, $url);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.