function LocaleFileHashTest::checkTranslations
Check for translation updates via the UI.
2 calls to LocaleFileHashTest::checkTranslations()
- LocaleFileHashTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleFileHashTest.php - LocaleFileHashTest::testModifiedFileProducesDifferentHash in core/
modules/ locale/ tests/ src/ Functional/ LocaleFileHashTest.php - Tests that modifying a file produces a different hash, detected by the UI.
File
-
core/
modules/ locale/ tests/ src/ Functional/ LocaleFileHashTest.php, line 61
Class
- LocaleFileHashTest
- Tests that file hash is used for local translation file change detection.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function checkTranslations() : void {
$this->drupalGet('admin/reports/translations');
$this->clickLink('Check manually');
$this->checkForMetaRefresh();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.